Documentation ¶
Index ¶
- type Args
- type Resource
- func (aescr *Resource) Attributes() awsEc2SubnetCidrReservationAttributes
- func (aescr *Resource) Configuration() interface{}
- func (aescr *Resource) DependOn() terra.Reference
- func (aescr *Resource) Dependencies() terra.Dependencies
- func (aescr *Resource) ImportState(state io.Reader) error
- func (aescr *Resource) LifecycleManagement() *terra.Lifecycle
- func (aescr *Resource) LocalName() string
- func (aescr *Resource) State() (*awsEc2SubnetCidrReservationState, bool)
- func (aescr *Resource) StateMust() *awsEc2SubnetCidrReservationState
- func (aescr *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // CidrBlock: string, required CidrBlock terra.StringValue `hcl:"cidr_block,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ReservationType: string, required ReservationType terra.StringValue `hcl:"reservation_type,attr" validate:"required"` // SubnetId: string, required SubnetId terra.StringValue `hcl:"subnet_id,attr" validate:"required"` }
Args contains the configurations for aws_ec2_subnet_cidr_reservation.
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_ec2_subnet_cidr_reservation.
func (*Resource) Attributes ¶
func (aescr *Resource) Attributes() awsEc2SubnetCidrReservationAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aescr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aescr *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.