Documentation
¶
Index ¶
- type Args
- type Resource
- func (aagm *Resource) Attributes() awsApiGatewayModelAttributes
- func (aagm *Resource) Configuration() interface{}
- func (aagm *Resource) DependOn() terra.Reference
- func (aagm *Resource) Dependencies() terra.Dependencies
- func (aagm *Resource) ImportState(state io.Reader) error
- func (aagm *Resource) LifecycleManagement() *terra.Lifecycle
- func (aagm *Resource) LocalName() string
- func (aagm *Resource) State() (*awsApiGatewayModelState, bool)
- func (aagm *Resource) StateMust() *awsApiGatewayModelState
- func (aagm *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct {
// 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"`
// RestApiId: string, required
RestApiId terra.StringValue `hcl:"rest_api_id,attr" validate:"required"`
// Schema: string, optional
Schema terra.StringValue `hcl:"schema,attr"`
}
Args contains the configurations for aws_api_gateway_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_api_gateway_model.
func (*Resource) Attributes ¶
func (aagm *Resource) Attributes() awsApiGatewayModelAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aagm *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aagm *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.