Documentation ¶
Index ¶
- func DataAwsIamPrincipalPolicySimulation_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func DataAwsIamPrincipalPolicySimulation_IsConstruct(x interface{}) *bool
- func DataAwsIamPrincipalPolicySimulation_IsTerraformDataSource(x interface{}) *bool
- func DataAwsIamPrincipalPolicySimulation_IsTerraformElement(x interface{}) *bool
- func DataAwsIamPrincipalPolicySimulation_TfResourceType() *string
- func NewDataAwsIamPrincipalPolicySimulationContextList_Override(d DataAwsIamPrincipalPolicySimulationContextList, ...)
- func NewDataAwsIamPrincipalPolicySimulationContextOutputReference_Override(d DataAwsIamPrincipalPolicySimulationContextOutputReference, ...)
- func NewDataAwsIamPrincipalPolicySimulationResultsList_Override(d DataAwsIamPrincipalPolicySimulationResultsList, ...)
- func NewDataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList_Override(d DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList, ...)
- func NewDataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference_Override(d DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference, ...)
- func NewDataAwsIamPrincipalPolicySimulationResultsOutputReference_Override(d DataAwsIamPrincipalPolicySimulationResultsOutputReference, ...)
- func NewDataAwsIamPrincipalPolicySimulation_Override(d DataAwsIamPrincipalPolicySimulation, scope constructs.Construct, id *string, ...)
- type DataAwsIamPrincipalPolicySimulation
- type DataAwsIamPrincipalPolicySimulationConfig
- type DataAwsIamPrincipalPolicySimulationContext
- type DataAwsIamPrincipalPolicySimulationContextList
- type DataAwsIamPrincipalPolicySimulationContextOutputReference
- type DataAwsIamPrincipalPolicySimulationResults
- type DataAwsIamPrincipalPolicySimulationResultsList
- type DataAwsIamPrincipalPolicySimulationResultsMatchedStatements
- type DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList
- type DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference
- type DataAwsIamPrincipalPolicySimulationResultsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataAwsIamPrincipalPolicySimulation_GenerateConfigForImport ¶
func DataAwsIamPrincipalPolicySimulation_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a DataAwsIamPrincipalPolicySimulation resource upon running "cdktf plan <stack-name>".
func DataAwsIamPrincipalPolicySimulation_IsConstruct ¶
func DataAwsIamPrincipalPolicySimulation_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 DataAwsIamPrincipalPolicySimulation_IsTerraformDataSource ¶
func DataAwsIamPrincipalPolicySimulation_IsTerraformDataSource(x interface{}) *bool
Experimental.
func DataAwsIamPrincipalPolicySimulation_IsTerraformElement ¶
func DataAwsIamPrincipalPolicySimulation_IsTerraformElement(x interface{}) *bool
Experimental.
func DataAwsIamPrincipalPolicySimulation_TfResourceType ¶
func DataAwsIamPrincipalPolicySimulation_TfResourceType() *string
func NewDataAwsIamPrincipalPolicySimulationContextList_Override ¶
func NewDataAwsIamPrincipalPolicySimulationContextList_Override(d DataAwsIamPrincipalPolicySimulationContextList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewDataAwsIamPrincipalPolicySimulationContextOutputReference_Override ¶
func NewDataAwsIamPrincipalPolicySimulationContextOutputReference_Override(d DataAwsIamPrincipalPolicySimulationContextOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewDataAwsIamPrincipalPolicySimulationResultsList_Override ¶
func NewDataAwsIamPrincipalPolicySimulationResultsList_Override(d DataAwsIamPrincipalPolicySimulationResultsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewDataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList_Override ¶
func NewDataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList_Override(d DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewDataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference_Override ¶
func NewDataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference_Override(d DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewDataAwsIamPrincipalPolicySimulationResultsOutputReference_Override ¶
func NewDataAwsIamPrincipalPolicySimulationResultsOutputReference_Override(d DataAwsIamPrincipalPolicySimulationResultsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewDataAwsIamPrincipalPolicySimulation_Override ¶
func NewDataAwsIamPrincipalPolicySimulation_Override(d DataAwsIamPrincipalPolicySimulation, scope constructs.Construct, id *string, config *DataAwsIamPrincipalPolicySimulationConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.82.2/docs/data-sources/iam_principal_policy_simulation aws_iam_principal_policy_simulation} Data Source.
Types ¶
type DataAwsIamPrincipalPolicySimulation ¶
type DataAwsIamPrincipalPolicySimulation interface { cdktf.TerraformDataSource ActionNames() *[]*string SetActionNames(val *[]*string) ActionNamesInput() *[]*string AdditionalPoliciesJson() *[]*string SetAdditionalPoliciesJson(val *[]*string) AdditionalPoliciesJsonInput() *[]*string AllAllowed() cdktf.IResolvable CallerArn() *string SetCallerArn(val *string) CallerArnInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} Context() DataAwsIamPrincipalPolicySimulationContextList ContextInput() interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) // The tree node. Node() constructs.Node PermissionsBoundaryPoliciesJson() *[]*string SetPermissionsBoundaryPoliciesJson(val *[]*string) PermissionsBoundaryPoliciesJsonInput() *[]*string PolicySourceArn() *string SetPolicySourceArn(val *string) PolicySourceArnInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. RawOverrides() interface{} ResourceArns() *[]*string SetResourceArns(val *[]*string) ResourceArnsInput() *[]*string ResourceHandlingOption() *string SetResourceHandlingOption(val *string) ResourceHandlingOptionInput() *string ResourceOwnerAccountId() *string SetResourceOwnerAccountId(val *string) ResourceOwnerAccountIdInput() *string ResourcePolicyJson() *string SetResourcePolicyJson(val *string) ResourcePolicyJsonInput() *string Results() DataAwsIamPrincipalPolicySimulationResultsList // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *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) PutContext(value interface{}) ResetAdditionalPoliciesJson() ResetCallerArn() ResetContext() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPermissionsBoundaryPoliciesJson() ResetResourceArns() ResetResourceHandlingOption() ResetResourceOwnerAccountId() ResetResourcePolicyJson() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Adds this resource to the terraform JSON output. // Experimental. ToHclTerraform() 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/5.82.2/docs/data-sources/iam_principal_policy_simulation aws_iam_principal_policy_simulation}.
func NewDataAwsIamPrincipalPolicySimulation ¶
func NewDataAwsIamPrincipalPolicySimulation(scope constructs.Construct, id *string, config *DataAwsIamPrincipalPolicySimulationConfig) DataAwsIamPrincipalPolicySimulation
Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.82.2/docs/data-sources/iam_principal_policy_simulation aws_iam_principal_policy_simulation} Data Source.
type DataAwsIamPrincipalPolicySimulationConfig ¶
type DataAwsIamPrincipalPolicySimulationConfig 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"` // One or more names of actions, like "iam:CreateUser", that should be included in the simulation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.82.2/docs/data-sources/iam_principal_policy_simulation#action_names DataAwsIamPrincipalPolicySimulation#action_names} ActionNames *[]*string `field:"required" json:"actionNames" yaml:"actionNames"` // ARN of the principal (e.g. user, role) whose existing configured access policies will be used as the basis for the simulation. If you specify a role ARN here, you can also set caller_arn to simulate a particular user acting with the given role. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.82.2/docs/data-sources/iam_principal_policy_simulation#policy_source_arn DataAwsIamPrincipalPolicySimulation#policy_source_arn} PolicySourceArn *string `field:"required" json:"policySourceArn" yaml:"policySourceArn"` // Additional principal-based policies to use in the simulation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.82.2/docs/data-sources/iam_principal_policy_simulation#additional_policies_json DataAwsIamPrincipalPolicySimulation#additional_policies_json} AdditionalPoliciesJson *[]*string `field:"optional" json:"additionalPoliciesJson" yaml:"additionalPoliciesJson"` // ARN of a user to use as the caller of the simulated requests. // // If not specified, defaults to the principal specified in policy_source_arn, if it is a user ARN. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.82.2/docs/data-sources/iam_principal_policy_simulation#caller_arn DataAwsIamPrincipalPolicySimulation#caller_arn} CallerArn *string `field:"optional" json:"callerArn" yaml:"callerArn"` // context block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.82.2/docs/data-sources/iam_principal_policy_simulation#context DataAwsIamPrincipalPolicySimulation#context} Context interface{} `field:"optional" json:"context" yaml:"context"` // Additional permission boundary policies to use in the simulation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.82.2/docs/data-sources/iam_principal_policy_simulation#permissions_boundary_policies_json DataAwsIamPrincipalPolicySimulation#permissions_boundary_policies_json} PermissionsBoundaryPoliciesJson *[]*string `field:"optional" json:"permissionsBoundaryPoliciesJson" yaml:"permissionsBoundaryPoliciesJson"` // ARNs of specific resources to use as the targets of the specified actions during simulation. // // If not specified, the simulator assumes "*" which represents general access across all resources. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.82.2/docs/data-sources/iam_principal_policy_simulation#resource_arns DataAwsIamPrincipalPolicySimulation#resource_arns} ResourceArns *[]*string `field:"optional" json:"resourceArns" yaml:"resourceArns"` // Specifies the type of simulation to run. // // Some API operations need a particular resource handling option in order to produce a correct reesult. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.82.2/docs/data-sources/iam_principal_policy_simulation#resource_handling_option DataAwsIamPrincipalPolicySimulation#resource_handling_option} ResourceHandlingOption *string `field:"optional" json:"resourceHandlingOption" yaml:"resourceHandlingOption"` // An AWS account ID to use as the simulated owner for any resource whose ARN does not include a specific owner account ID. // // Defaults to the account given as part of caller_arn. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.82.2/docs/data-sources/iam_principal_policy_simulation#resource_owner_account_id DataAwsIamPrincipalPolicySimulation#resource_owner_account_id} ResourceOwnerAccountId *string `field:"optional" json:"resourceOwnerAccountId" yaml:"resourceOwnerAccountId"` // A resource policy to associate with all of the target resources for simulation purposes. // // The policy simulator does not automatically retrieve resource-level policies, so if a resource policy is crucial to your test then you must specify here the same policy document associated with your target resource(s). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.82.2/docs/data-sources/iam_principal_policy_simulation#resource_policy_json DataAwsIamPrincipalPolicySimulation#resource_policy_json} ResourcePolicyJson *string `field:"optional" json:"resourcePolicyJson" yaml:"resourcePolicyJson"` }
type DataAwsIamPrincipalPolicySimulationContext ¶
type DataAwsIamPrincipalPolicySimulationContext struct { // The key name of the context entry, such as "aws:CurrentTime". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.82.2/docs/data-sources/iam_principal_policy_simulation#key DataAwsIamPrincipalPolicySimulation#key} Key *string `field:"required" json:"key" yaml:"key"` // The type that the simulator should use to interpret the strings given in argument "values". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.82.2/docs/data-sources/iam_principal_policy_simulation#type DataAwsIamPrincipalPolicySimulation#type} Type *string `field:"required" json:"type" yaml:"type"` // One or more values to assign to the context key, given as a string in a syntax appropriate for the selected value type. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.82.2/docs/data-sources/iam_principal_policy_simulation#values DataAwsIamPrincipalPolicySimulation#values} Values *[]*string `field:"required" json:"values" yaml:"values"` }
type DataAwsIamPrincipalPolicySimulationContextList ¶
type DataAwsIamPrincipalPolicySimulationContextList 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) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) DataAwsIamPrincipalPolicySimulationContextOutputReference // 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 NewDataAwsIamPrincipalPolicySimulationContextList ¶
func NewDataAwsIamPrincipalPolicySimulationContextList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) DataAwsIamPrincipalPolicySimulationContextList
type DataAwsIamPrincipalPolicySimulationContextOutputReference ¶
type DataAwsIamPrincipalPolicySimulationContextOutputReference 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{}) Key() *string SetKey(val *string) KeyInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string Values() *[]*string SetValues(val *[]*string) ValuesInput() *[]*string // 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 NewDataAwsIamPrincipalPolicySimulationContextOutputReference ¶
func NewDataAwsIamPrincipalPolicySimulationContextOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) DataAwsIamPrincipalPolicySimulationContextOutputReference
type DataAwsIamPrincipalPolicySimulationResults ¶
type DataAwsIamPrincipalPolicySimulationResults struct { }
type DataAwsIamPrincipalPolicySimulationResultsList ¶
type DataAwsIamPrincipalPolicySimulationResultsList 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) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) DataAwsIamPrincipalPolicySimulationResultsOutputReference // 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 NewDataAwsIamPrincipalPolicySimulationResultsList ¶
func NewDataAwsIamPrincipalPolicySimulationResultsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) DataAwsIamPrincipalPolicySimulationResultsList
type DataAwsIamPrincipalPolicySimulationResultsMatchedStatements ¶
type DataAwsIamPrincipalPolicySimulationResultsMatchedStatements struct { }
type DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList ¶
type DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList 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) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference // 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 NewDataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList ¶
func NewDataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList
type DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference ¶
type DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference 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() *DataAwsIamPrincipalPolicySimulationResultsMatchedStatements SetInternalValue(val *DataAwsIamPrincipalPolicySimulationResultsMatchedStatements) SourcePolicyId() *string SourcePolicyType() *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 NewDataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference ¶
func NewDataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference
type DataAwsIamPrincipalPolicySimulationResultsOutputReference ¶
type DataAwsIamPrincipalPolicySimulationResultsOutputReference interface { cdktf.ComplexObject ActionName() *string Allowed() cdktf.IResolvable // 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 Decision() *string DecisionDetails() cdktf.StringMap // Experimental. Fqn() *string InternalValue() *DataAwsIamPrincipalPolicySimulationResults SetInternalValue(val *DataAwsIamPrincipalPolicySimulationResults) MatchedStatements() DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList MissingContextKeys() *[]*string ResourceArn() *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 NewDataAwsIamPrincipalPolicySimulationResultsOutputReference ¶
func NewDataAwsIamPrincipalPolicySimulationResultsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) DataAwsIamPrincipalPolicySimulationResultsOutputReference
Source Files ¶
- DataAwsIamPrincipalPolicySimulation.go
- DataAwsIamPrincipalPolicySimulationConfig.go
- DataAwsIamPrincipalPolicySimulationContext.go
- DataAwsIamPrincipalPolicySimulationContextList.go
- DataAwsIamPrincipalPolicySimulationContextList__checks.go
- DataAwsIamPrincipalPolicySimulationContextOutputReference.go
- DataAwsIamPrincipalPolicySimulationContextOutputReference__checks.go
- DataAwsIamPrincipalPolicySimulationResults.go
- DataAwsIamPrincipalPolicySimulationResultsList.go
- DataAwsIamPrincipalPolicySimulationResultsList__checks.go
- DataAwsIamPrincipalPolicySimulationResultsMatchedStatements.go
- DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList.go
- DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsList__checks.go
- DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference.go
- DataAwsIamPrincipalPolicySimulationResultsMatchedStatementsOutputReference__checks.go
- DataAwsIamPrincipalPolicySimulationResultsOutputReference.go
- DataAwsIamPrincipalPolicySimulationResultsOutputReference__checks.go
- DataAwsIamPrincipalPolicySimulation__checks.go
- main.go