Documentation
¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type Resource
- func (avipnc *Resource) Attributes() awsVpcIpamPreviewNextCidrAttributes
- func (avipnc *Resource) Configuration() interface{}
- func (avipnc *Resource) DependOn() terra.Reference
- func (avipnc *Resource) Dependencies() terra.Dependencies
- func (avipnc *Resource) ImportState(state io.Reader) error
- func (avipnc *Resource) LifecycleManagement() *terra.Lifecycle
- func (avipnc *Resource) LocalName() string
- func (avipnc *Resource) State() (*awsVpcIpamPreviewNextCidrState, bool)
- func (avipnc *Resource) StateMust() *awsVpcIpamPreviewNextCidrState
- func (avipnc *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // DisallowedCidrs: set of string, optional DisallowedCidrs terra.SetValue[terra.StringValue] `hcl:"disallowed_cidrs,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IpamPoolId: string, required IpamPoolId terra.StringValue `hcl:"ipam_pool_id,attr" validate:"required"` // NetmaskLength: number, optional NetmaskLength terra.NumberValue `hcl:"netmask_length,attr"` }
Args contains the configurations for aws_vpc_ipam_preview_next_cidr.
type DataArgs ¶
type DataArgs struct { // DisallowedCidrs: set of string, optional DisallowedCidrs terra.SetValue[terra.StringValue] `hcl:"disallowed_cidrs,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IpamPoolId: string, required IpamPoolId terra.StringValue `hcl:"ipam_pool_id,attr" validate:"required"` // NetmaskLength: number, optional NetmaskLength terra.NumberValue `hcl:"netmask_length,attr"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for aws_vpc_ipam_preview_next_cidr.
type DataSource ¶
DataSource represents the Terraform data resource aws_vpc_ipam_preview_next_cidr.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (avipnc *DataSource) Attributes() dataAwsVpcIpamPreviewNextCidrAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (avipnc *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (avipnc *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (avipnc *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataTimeouts ¶
type DataTimeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type DataTimeoutsAttributes ¶
type DataTimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (DataTimeoutsAttributes) InternalRef ¶
func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)
func (DataTimeoutsAttributes) InternalTokens ¶
func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTimeoutsAttributes) InternalWithRef ¶
func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
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_vpc_ipam_preview_next_cidr.
func (*Resource) Attributes ¶
func (avipnc *Resource) Attributes() awsVpcIpamPreviewNextCidrAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (avipnc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (avipnc *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.