Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type Resource
- func (asp *Resource) Attributes() awsSsmParameterAttributes
- func (asp *Resource) Configuration() interface{}
- func (asp *Resource) DependOn() terra.Reference
- func (asp *Resource) Dependencies() terra.Dependencies
- func (asp *Resource) ImportState(state io.Reader) error
- func (asp *Resource) LifecycleManagement() *terra.Lifecycle
- func (asp *Resource) LocalName() string
- func (asp *Resource) State() (*awsSsmParameterState, bool)
- func (asp *Resource) StateMust() *awsSsmParameterState
- func (asp *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AllowedPattern: string, optional AllowedPattern terra.StringValue `hcl:"allowed_pattern,attr"` // Arn: string, optional Arn terra.StringValue `hcl:"arn,attr"` // DataType: string, optional DataType terra.StringValue `hcl:"data_type,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InsecureValue: string, optional InsecureValue terra.StringValue `hcl:"insecure_value,attr"` // KeyId: string, optional KeyId terra.StringValue `hcl:"key_id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Overwrite: bool, optional Overwrite terra.BoolValue `hcl:"overwrite,attr"` // 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"` // Tier: string, optional Tier terra.StringValue `hcl:"tier,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
Args contains the configurations for aws_ssm_parameter.
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"` // WithDecryption: bool, optional WithDecryption terra.BoolValue `hcl:"with_decryption,attr"` }
DataArgs contains the configurations for aws_ssm_parameter.
type DataSource ¶
DataSource represents the Terraform data resource aws_ssm_parameter.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (asp *DataSource) Attributes() dataAwsSsmParameterAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (asp *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (asp *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (asp *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_ssm_parameter.
func (*Resource) Attributes ¶
func (asp *Resource) Attributes() awsSsmParameterAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asp *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.