Documentation ¶
Index ¶
- type Args
- type Resource
- func (aam *Resource) Attributes() awsApigatewayv2ModelAttributes
- func (aam *Resource) Configuration() interface{}
- func (aam *Resource) DependOn() terra.Reference
- func (aam *Resource) Dependencies() terra.Dependencies
- func (aam *Resource) ImportState(state io.Reader) error
- func (aam *Resource) LifecycleManagement() *terra.Lifecycle
- func (aam *Resource) LocalName() string
- func (aam *Resource) State() (*awsApigatewayv2ModelState, bool)
- func (aam *Resource) StateMust() *awsApigatewayv2ModelState
- func (aam *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ApiId: string, required ApiId terra.StringValue `hcl:"api_id,attr" validate:"required"` // ContentType: string, required ContentType terra.StringValue `hcl:"content_type,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Schema: string, required Schema terra.StringValue `hcl:"schema,attr" validate:"required"` }
Args contains the configurations for aws_apigatewayv2_model.
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_apigatewayv2_model.
func (*Resource) Attributes ¶
func (aam *Resource) Attributes() awsApigatewayv2ModelAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aam *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aam *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.
Click to show internal directories.
Click to hide internal directories.