Documentation ¶
Index ¶
- type Args
- type Location
- type LocationAttributes
- func (l LocationAttributes) InternalRef() (terra.Reference, error)
- func (l LocationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l LocationAttributes) InternalWithRef(ref terra.Reference) LocationAttributes
- func (l LocationAttributes) Method() terra.StringValue
- func (l LocationAttributes) Name() terra.StringValue
- func (l LocationAttributes) Path() terra.StringValue
- func (l LocationAttributes) StatusCode() terra.StringValue
- func (l LocationAttributes) Type() terra.StringValue
- type LocationState
- type Resource
- func (aagdp *Resource) Attributes() awsApiGatewayDocumentationPartAttributes
- func (aagdp *Resource) Configuration() interface{}
- func (aagdp *Resource) DependOn() terra.Reference
- func (aagdp *Resource) Dependencies() terra.Dependencies
- func (aagdp *Resource) ImportState(state io.Reader) error
- func (aagdp *Resource) LifecycleManagement() *terra.Lifecycle
- func (aagdp *Resource) LocalName() string
- func (aagdp *Resource) State() (*awsApiGatewayDocumentationPartState, bool)
- func (aagdp *Resource) StateMust() *awsApiGatewayDocumentationPartState
- func (aagdp *Resource) Type() string
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"` // Properties: string, required Properties terra.StringValue `hcl:"properties,attr" validate:"required"` // RestApiId: string, required RestApiId terra.StringValue `hcl:"rest_api_id,attr" validate:"required"` // Location: required Location *Location `hcl:"location,block" validate:"required"` }
Args contains the configurations for aws_api_gateway_documentation_part.
type Location ¶
type Location struct { // Method: string, optional Method terra.StringValue `hcl:"method,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // StatusCode: string, optional StatusCode terra.StringValue `hcl:"status_code,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type LocationAttributes ¶
type LocationAttributes struct {
// contains filtered or unexported fields
}
func (LocationAttributes) InternalRef ¶
func (l LocationAttributes) InternalRef() (terra.Reference, error)
func (LocationAttributes) InternalTokens ¶
func (l LocationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LocationAttributes) InternalWithRef ¶
func (l LocationAttributes) InternalWithRef(ref terra.Reference) LocationAttributes
func (LocationAttributes) Method ¶
func (l LocationAttributes) Method() terra.StringValue
func (LocationAttributes) Name ¶
func (l LocationAttributes) Name() terra.StringValue
func (LocationAttributes) Path ¶
func (l LocationAttributes) Path() terra.StringValue
func (LocationAttributes) StatusCode ¶
func (l LocationAttributes) StatusCode() terra.StringValue
func (LocationAttributes) Type ¶
func (l LocationAttributes) Type() terra.StringValue
type LocationState ¶
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_documentation_part.
func (*Resource) Attributes ¶
func (aagdp *Resource) Attributes() awsApiGatewayDocumentationPartAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aagdp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aagdp *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.