Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type Resource
- func (arsg *Resource) Attributes() awsRedshiftSubnetGroupAttributes
- func (arsg *Resource) Configuration() interface{}
- func (arsg *Resource) DependOn() terra.Reference
- func (arsg *Resource) Dependencies() terra.Dependencies
- func (arsg *Resource) ImportState(state io.Reader) error
- func (arsg *Resource) LifecycleManagement() *terra.Lifecycle
- func (arsg *Resource) LocalName() string
- func (arsg *Resource) State() (*awsRedshiftSubnetGroupState, bool)
- func (arsg *Resource) StateMust() *awsRedshiftSubnetGroupState
- func (arsg *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // 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"` // SubnetIds: set of string, required SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` }
Args contains the configurations for aws_redshift_subnet_group.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` }
DataArgs contains the configurations for aws_redshift_subnet_group.
type DataSource ¶
DataSource represents the Terraform data resource aws_redshift_subnet_group.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (arsg *DataSource) Attributes() dataAwsRedshiftSubnetGroupAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (arsg *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (arsg *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (arsg *DataSource) LocalName() string
LocalName returns the local name for DataSource.
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_redshift_subnet_group.
func (*Resource) Attributes ¶
func (arsg *Resource) Attributes() awsRedshiftSubnetGroupAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (arsg *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (arsg *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.