projects_iam

package module
v0.0.0-...-4f78cf2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

@cdktf/provider-projects_iam

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProjectsIam_Override

func NewProjectsIam_Override(p ProjectsIam, scope constructs.Construct, id *string, config *ProjectsIamConfig)

func ProjectsIam_IsConstruct

func ProjectsIam_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func ProjectsIam_IsTerraformElement

func ProjectsIam_IsTerraformElement(x interface{}) *bool

Experimental.

Types

type ProjectsIam

type ProjectsIam interface {
	cdktf.TerraformModule
	Bindings() *map[string]*[]*string
	SetBindings(val *map[string]*[]*string)
	// Experimental.
	CdktfStack() cdktf.TerraformStack
	ConditionalBindings() interface{}
	SetConditionalBindings(val interface{})
	// Experimental.
	ConstructNodeMetadata() *map[string]interface{}
	// Experimental.
	DependsOn() *[]*string
	// Experimental.
	SetDependsOn(val *[]*string)
	// Experimental.
	ForEach() cdktf.ITerraformIterator
	// Experimental.
	SetForEach(val cdktf.ITerraformIterator)
	// Experimental.
	Fqn() *string
	// Experimental.
	FriendlyUniqueId() *string
	MembersOutput() *string
	Mode() *string
	SetMode(val *string)
	// The tree node.
	Node() constructs.Node
	Projects() *[]*string
	SetProjects(val *[]*string)
	ProjectsOutput() *string
	// Experimental.
	Providers() *[]interface{}
	// Experimental.
	RawOverrides() interface{}
	RolesOutput() *string
	// Experimental.
	SkipAssetCreationFromLocalModules() *bool
	// Experimental.
	Source() *string
	// Experimental.
	Version() *string
	// Experimental.
	AddOverride(path *string, value interface{})
	// Experimental.
	AddProvider(provider interface{})
	// Experimental.
	GetString(output *string) *string
	// Experimental.
	InterpolationForOutput(moduleOutput *string) cdktf.IResolvable
	// Overrides the auto-generated logical ID with a specific ID.
	// Experimental.
	OverrideLogicalId(newLogicalId *string)
	// Resets a previously passed logical Id to use the auto-generated logical id again.
	// Experimental.
	ResetOverrideLogicalId()
	SynthesizeAttributes() *map[string]interface{}
	SynthesizeHclAttributes() *map[string]interface{}
	// Experimental.
	ToHclTerraform() interface{}
	// Experimental.
	ToMetadata() interface{}
	// Returns a string representation of this construct.
	ToString() *string
	// Experimental.
	ToTerraform() interface{}
}

Defines an ProjectsIam based on a Terraform module.

Docs at Terraform Registry: {@link https://registry.terraform.io/modules/terraform-google-modules/iam/google/8.1.0/submodules/projects_iam terraform-google-modules/iam/google//modules/projects_iam}

func NewProjectsIam

func NewProjectsIam(scope constructs.Construct, id *string, config *ProjectsIamConfig) ProjectsIam

type ProjectsIamConfig

type ProjectsIamConfig struct {
	// Experimental.
	DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"`
	// Experimental.
	ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"`
	// Experimental.
	Providers *[]interface{} `field:"optional" json:"providers" yaml:"providers"`
	// Experimental.
	SkipAssetCreationFromLocalModules *bool `field:"optional" json:"skipAssetCreationFromLocalModules" yaml:"skipAssetCreationFromLocalModules"`
	// Map of role (key) and list of members (value) to add the IAM policies/bindings The property type contains a map, they have special handling, please see {@link cdk.tf /module-map-inputs the docs}.
	Bindings *map[string]*[]*string `field:"optional" json:"bindings" yaml:"bindings"`
	// List of maps of role and respective conditions, and the members to add the IAM policies/bindings.
	ConditionalBindings interface{} `field:"optional" json:"conditionalBindings" yaml:"conditionalBindings"`
	// Mode for adding the IAM policies/bindings, additive and authoritative additive.
	Mode *string `field:"optional" json:"mode" yaml:"mode"`
	// Projects list to add the IAM policies/bindings.
	Projects *[]*string `field:"optional" json:"projects" yaml:"projects"`
}

Directories

Path Synopsis
Package jsii contains the functionaility needed for jsii packages to initialize their dependencies and themselves.
Package jsii contains the functionaility needed for jsii packages to initialize their dependencies and themselves.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL