Documentation
¶
Index ¶
- type Args
- type Resource
- func (acipra *Resource) Attributes() awsCognitoIdentityPoolRolesAttachmentAttributes
- func (acipra *Resource) Configuration() interface{}
- func (acipra *Resource) DependOn() terra.Reference
- func (acipra *Resource) Dependencies() terra.Dependencies
- func (acipra *Resource) ImportState(state io.Reader) error
- func (acipra *Resource) LifecycleManagement() *terra.Lifecycle
- func (acipra *Resource) LocalName() string
- func (acipra *Resource) State() (*awsCognitoIdentityPoolRolesAttachmentState, bool)
- func (acipra *Resource) StateMust() *awsCognitoIdentityPoolRolesAttachmentState
- func (acipra *Resource) Type() string
- type RoleMapping
- type RoleMappingAttributes
- func (rm RoleMappingAttributes) AmbiguousRoleResolution() terra.StringValue
- func (rm RoleMappingAttributes) IdentityProvider() terra.StringValue
- func (rm RoleMappingAttributes) InternalRef() (terra.Reference, error)
- func (rm RoleMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rm RoleMappingAttributes) InternalWithRef(ref terra.Reference) RoleMappingAttributes
- func (rm RoleMappingAttributes) MappingRule() terra.ListValue[RoleMappingMappingRuleAttributes]
- func (rm RoleMappingAttributes) Type() terra.StringValue
- type RoleMappingMappingRule
- type RoleMappingMappingRuleAttributes
- func (mr RoleMappingMappingRuleAttributes) Claim() terra.StringValue
- func (mr RoleMappingMappingRuleAttributes) InternalRef() (terra.Reference, error)
- func (mr RoleMappingMappingRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mr RoleMappingMappingRuleAttributes) InternalWithRef(ref terra.Reference) RoleMappingMappingRuleAttributes
- func (mr RoleMappingMappingRuleAttributes) MatchType() terra.StringValue
- func (mr RoleMappingMappingRuleAttributes) RoleArn() terra.StringValue
- func (mr RoleMappingMappingRuleAttributes) Value() terra.StringValue
- type RoleMappingMappingRuleState
- type RoleMappingState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IdentityPoolId: string, required IdentityPoolId terra.StringValue `hcl:"identity_pool_id,attr" validate:"required"` // Roles: map of string, required Roles terra.MapValue[terra.StringValue] `hcl:"roles,attr" validate:"required"` // RoleMapping: min=0 RoleMapping []RoleMapping `hcl:"role_mapping,block" validate:"min=0"` }
Args contains the configurations for aws_cognito_identity_pool_roles_attachment.
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_cognito_identity_pool_roles_attachment.
func (*Resource) Attributes ¶
func (acipra *Resource) Attributes() awsCognitoIdentityPoolRolesAttachmentAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (acipra *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (acipra *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type RoleMapping ¶
type RoleMapping struct { // AmbiguousRoleResolution: string, optional AmbiguousRoleResolution terra.StringValue `hcl:"ambiguous_role_resolution,attr"` // IdentityProvider: string, required IdentityProvider terra.StringValue `hcl:"identity_provider,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // RoleMappingMappingRule: min=0,max=25 MappingRule []RoleMappingMappingRule `hcl:"mapping_rule,block" validate:"min=0,max=25"` }
type RoleMappingAttributes ¶
type RoleMappingAttributes struct {
// contains filtered or unexported fields
}
func (RoleMappingAttributes) AmbiguousRoleResolution ¶
func (rm RoleMappingAttributes) AmbiguousRoleResolution() terra.StringValue
func (RoleMappingAttributes) IdentityProvider ¶
func (rm RoleMappingAttributes) IdentityProvider() terra.StringValue
func (RoleMappingAttributes) InternalRef ¶
func (rm RoleMappingAttributes) InternalRef() (terra.Reference, error)
func (RoleMappingAttributes) InternalTokens ¶
func (rm RoleMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RoleMappingAttributes) InternalWithRef ¶
func (rm RoleMappingAttributes) InternalWithRef(ref terra.Reference) RoleMappingAttributes
func (RoleMappingAttributes) MappingRule ¶
func (rm RoleMappingAttributes) MappingRule() terra.ListValue[RoleMappingMappingRuleAttributes]
func (RoleMappingAttributes) Type ¶
func (rm RoleMappingAttributes) Type() terra.StringValue
type RoleMappingMappingRule ¶
type RoleMappingMappingRule struct { // Claim: string, required Claim terra.StringValue `hcl:"claim,attr" validate:"required"` // MatchType: string, required MatchType terra.StringValue `hcl:"match_type,attr" validate:"required"` // RoleArn: string, required RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type RoleMappingMappingRuleAttributes ¶
type RoleMappingMappingRuleAttributes struct {
// contains filtered or unexported fields
}
func (RoleMappingMappingRuleAttributes) Claim ¶
func (mr RoleMappingMappingRuleAttributes) Claim() terra.StringValue
func (RoleMappingMappingRuleAttributes) InternalRef ¶
func (mr RoleMappingMappingRuleAttributes) InternalRef() (terra.Reference, error)
func (RoleMappingMappingRuleAttributes) InternalTokens ¶
func (mr RoleMappingMappingRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RoleMappingMappingRuleAttributes) InternalWithRef ¶
func (mr RoleMappingMappingRuleAttributes) InternalWithRef(ref terra.Reference) RoleMappingMappingRuleAttributes
func (RoleMappingMappingRuleAttributes) MatchType ¶
func (mr RoleMappingMappingRuleAttributes) MatchType() terra.StringValue
func (RoleMappingMappingRuleAttributes) RoleArn ¶
func (mr RoleMappingMappingRuleAttributes) RoleArn() terra.StringValue
func (RoleMappingMappingRuleAttributes) Value ¶
func (mr RoleMappingMappingRuleAttributes) Value() terra.StringValue
type RoleMappingState ¶
type RoleMappingState struct { AmbiguousRoleResolution string `json:"ambiguous_role_resolution"` IdentityProvider string `json:"identity_provider"` Type string `json:"type"` MappingRule []RoleMappingMappingRuleState `json:"mapping_rule"` }
Click to show internal directories.
Click to hide internal directories.