Documentation ¶
Index ¶
- func IamRole_IsConstruct(x interface{}) *bool
- func IamRole_IsTerraformElement(x interface{}) *bool
- func IamRole_IsTerraformResource(x interface{}) *bool
- func IamRole_TfResourceType() *string
- func NewIamRoleInlinePolicyList_Override(i IamRoleInlinePolicyList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewIamRoleInlinePolicyOutputReference_Override(i IamRoleInlinePolicyOutputReference, ...)
- func NewIamRoleRoleLastUsedList_Override(i IamRoleRoleLastUsedList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewIamRoleRoleLastUsedOutputReference_Override(i IamRoleRoleLastUsedOutputReference, ...)
- func NewIamRole_Override(i IamRole, scope constructs.Construct, id *string, config *IamRoleConfig)
- type IamRole
- type IamRoleConfig
- type IamRoleInlinePolicy
- type IamRoleInlinePolicyList
- type IamRoleInlinePolicyOutputReference
- type IamRoleRoleLastUsed
- type IamRoleRoleLastUsedList
- type IamRoleRoleLastUsedOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IamRole_IsConstruct ¶
func IamRole_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 IamRole_IsTerraformElement ¶
func IamRole_IsTerraformElement(x interface{}) *bool
Experimental.
func IamRole_IsTerraformResource ¶
func IamRole_IsTerraformResource(x interface{}) *bool
Experimental.
func IamRole_TfResourceType ¶
func IamRole_TfResourceType() *string
func NewIamRoleInlinePolicyList_Override ¶
func NewIamRoleInlinePolicyList_Override(i IamRoleInlinePolicyList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewIamRoleInlinePolicyOutputReference_Override ¶
func NewIamRoleInlinePolicyOutputReference_Override(i IamRoleInlinePolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewIamRoleRoleLastUsedList_Override ¶
func NewIamRoleRoleLastUsedList_Override(i IamRoleRoleLastUsedList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewIamRoleRoleLastUsedOutputReference_Override ¶
func NewIamRoleRoleLastUsedOutputReference_Override(i IamRoleRoleLastUsedOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewIamRole_Override ¶
func NewIamRole_Override(i IamRole, scope constructs.Construct, id *string, config *IamRoleConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role aws_iam_role} Resource.
Types ¶
type IamRole ¶
type IamRole interface { cdktf.TerraformResource Arn() *string AssumeRolePolicy() *string SetAssumeRolePolicy(val *string) AssumeRolePolicyInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CreateDate() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string ForceDetachPolicies() interface{} SetForceDetachPolicies(val interface{}) ForceDetachPoliciesInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string InlinePolicy() IamRoleInlinePolicyList InlinePolicyInput() interface{} // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) ManagedPolicyArns() *[]*string SetManagedPolicyArns(val *[]*string) ManagedPolicyArnsInput() *[]*string MaxSessionDuration() *float64 SetMaxSessionDuration(val *float64) MaxSessionDurationInput() *float64 Name() *string SetName(val *string) NameInput() *string NamePrefix() *string SetNamePrefix(val *string) NamePrefixInput() *string // The tree node. Node() constructs.Node Path() *string SetPath(val *string) PathInput() *string PermissionsBoundary() *string SetPermissionsBoundary(val *string) PermissionsBoundaryInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} RoleLastUsed() IamRoleRoleLastUsedList Tags() *map[string]*string SetTags(val *map[string]*string) TagsAll() *map[string]*string SetTagsAll(val *map[string]*string) TagsAllInput() *map[string]*string TagsInput() *map[string]*string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string UniqueId() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutInlinePolicy(value interface{}) ResetDescription() ResetForceDetachPolicies() ResetId() ResetInlinePolicy() ResetManagedPolicyArns() ResetMaxSessionDuration() ResetName() ResetNamePrefix() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPath() ResetPermissionsBoundary() ResetTags() ResetTagsAll() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role aws_iam_role}.
func NewIamRole ¶
func NewIamRole(scope constructs.Construct, id *string, config *IamRoleConfig) IamRole
Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role aws_iam_role} Resource.
type IamRoleConfig ¶
type IamRoleConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role#assume_role_policy IamRole#assume_role_policy}. AssumeRolePolicy *string `field:"required" json:"assumeRolePolicy" yaml:"assumeRolePolicy"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role#description IamRole#description}. Description *string `field:"optional" json:"description" yaml:"description"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role#force_detach_policies IamRole#force_detach_policies}. ForceDetachPolicies interface{} `field:"optional" json:"forceDetachPolicies" yaml:"forceDetachPolicies"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role#id IamRole#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // inline_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role#inline_policy IamRole#inline_policy} InlinePolicy interface{} `field:"optional" json:"inlinePolicy" yaml:"inlinePolicy"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role#managed_policy_arns IamRole#managed_policy_arns}. ManagedPolicyArns *[]*string `field:"optional" json:"managedPolicyArns" yaml:"managedPolicyArns"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role#max_session_duration IamRole#max_session_duration}. MaxSessionDuration *float64 `field:"optional" json:"maxSessionDuration" yaml:"maxSessionDuration"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role#name IamRole#name}. Name *string `field:"optional" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role#name_prefix IamRole#name_prefix}. NamePrefix *string `field:"optional" json:"namePrefix" yaml:"namePrefix"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role#path IamRole#path}. Path *string `field:"optional" json:"path" yaml:"path"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role#permissions_boundary IamRole#permissions_boundary}. PermissionsBoundary *string `field:"optional" json:"permissionsBoundary" yaml:"permissionsBoundary"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role#tags IamRole#tags}. Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role#tags_all IamRole#tags_all}. TagsAll *map[string]*string `field:"optional" json:"tagsAll" yaml:"tagsAll"` }
type IamRoleInlinePolicy ¶
type IamRoleInlinePolicy struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role#name IamRole#name}. Name *string `field:"optional" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/4.66.1/docs/resources/iam_role#policy IamRole#policy}. Policy *string `field:"optional" json:"policy" yaml:"policy"` }
type IamRoleInlinePolicyList ¶
type IamRoleInlinePolicyList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) IamRoleInlinePolicyOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewIamRoleInlinePolicyList ¶
func NewIamRoleInlinePolicyList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) IamRoleInlinePolicyList
type IamRoleInlinePolicyOutputReference ¶
type IamRoleInlinePolicyOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string Policy() *string SetPolicy(val *string) PolicyInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetName() ResetPolicy() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewIamRoleInlinePolicyOutputReference ¶
func NewIamRoleInlinePolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) IamRoleInlinePolicyOutputReference
type IamRoleRoleLastUsed ¶
type IamRoleRoleLastUsed struct { }
type IamRoleRoleLastUsedList ¶
type IamRoleRoleLastUsedList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) IamRoleRoleLastUsedOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewIamRoleRoleLastUsedList ¶
func NewIamRoleRoleLastUsedList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) IamRoleRoleLastUsedList
type IamRoleRoleLastUsedOutputReference ¶
type IamRoleRoleLastUsedOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *IamRoleRoleLastUsed SetInternalValue(val *IamRoleRoleLastUsed) LastUsedDate() *string Region() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewIamRoleRoleLastUsedOutputReference ¶
func NewIamRoleRoleLastUsedOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) IamRoleRoleLastUsedOutputReference
Source Files ¶
- IamRole.go
- IamRoleConfig.go
- IamRoleInlinePolicy.go
- IamRoleInlinePolicyList.go
- IamRoleInlinePolicyList__checks.go
- IamRoleInlinePolicyOutputReference.go
- IamRoleInlinePolicyOutputReference__checks.go
- IamRoleRoleLastUsed.go
- IamRoleRoleLastUsedList.go
- IamRoleRoleLastUsedList__checks.go
- IamRoleRoleLastUsedOutputReference.go
- IamRoleRoleLastUsedOutputReference__checks.go
- IamRole__checks.go
- main.go