Documentation ¶
Index ¶
- type Args
- type Resource
- func (acrs *Resource) Attributes() awsCognitoResourceServerAttributes
- func (acrs *Resource) Configuration() interface{}
- func (acrs *Resource) DependOn() terra.Reference
- func (acrs *Resource) Dependencies() terra.Dependencies
- func (acrs *Resource) ImportState(state io.Reader) error
- func (acrs *Resource) LifecycleManagement() *terra.Lifecycle
- func (acrs *Resource) LocalName() string
- func (acrs *Resource) State() (*awsCognitoResourceServerState, bool)
- func (acrs *Resource) StateMust() *awsCognitoResourceServerState
- func (acrs *Resource) Type() string
- type Scope
- type ScopeAttributes
- func (s ScopeAttributes) InternalRef() (terra.Reference, error)
- func (s ScopeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s ScopeAttributes) InternalWithRef(ref terra.Reference) ScopeAttributes
- func (s ScopeAttributes) ScopeDescription() terra.StringValue
- func (s ScopeAttributes) ScopeName() terra.StringValue
- type ScopeState
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"` // Identifier: string, required Identifier terra.StringValue `hcl:"identifier,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // UserPoolId: string, required UserPoolId terra.StringValue `hcl:"user_pool_id,attr" validate:"required"` // Scope: min=0,max=100 Scope []Scope `hcl:"scope,block" validate:"min=0,max=100"` }
Args contains the configurations for aws_cognito_resource_server.
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_resource_server.
func (*Resource) Attributes ¶
func (acrs *Resource) Attributes() awsCognitoResourceServerAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (acrs *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (acrs *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 Scope ¶
type Scope struct { // ScopeDescription: string, required ScopeDescription terra.StringValue `hcl:"scope_description,attr" validate:"required"` // ScopeName: string, required ScopeName terra.StringValue `hcl:"scope_name,attr" validate:"required"` }
type ScopeAttributes ¶
type ScopeAttributes struct {
// contains filtered or unexported fields
}
func (ScopeAttributes) InternalRef ¶
func (s ScopeAttributes) InternalRef() (terra.Reference, error)
func (ScopeAttributes) InternalTokens ¶
func (s ScopeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScopeAttributes) InternalWithRef ¶
func (s ScopeAttributes) InternalWithRef(ref terra.Reference) ScopeAttributes
func (ScopeAttributes) ScopeDescription ¶
func (s ScopeAttributes) ScopeDescription() terra.StringValue
func (ScopeAttributes) ScopeName ¶
func (s ScopeAttributes) ScopeName() terra.StringValue
type ScopeState ¶
Click to show internal directories.
Click to hide internal directories.