Documentation
¶
Index ¶
- type Args
- type Configuration
- type ConfigurationAttributes
- func (c ConfigurationAttributes) ExecuteCommandConfiguration() terra.ListValue[ConfigurationExecuteCommandConfigurationAttributes]
- func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationAttributes
- type ConfigurationExecuteCommandConfiguration
- type ConfigurationExecuteCommandConfigurationAttributes
- func (ecc ConfigurationExecuteCommandConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ecc ConfigurationExecuteCommandConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ecc ConfigurationExecuteCommandConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationExecuteCommandConfigurationAttributes
- func (ecc ConfigurationExecuteCommandConfigurationAttributes) KmsKeyId() terra.StringValue
- func (ecc ConfigurationExecuteCommandConfigurationAttributes) LogConfiguration() ...
- func (ecc ConfigurationExecuteCommandConfigurationAttributes) Logging() terra.StringValue
- type ConfigurationExecuteCommandConfigurationLogConfiguration
- type ConfigurationExecuteCommandConfigurationLogConfigurationAttributes
- func (lc ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) CloudWatchEncryptionEnabled() terra.BoolValue
- func (lc ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) CloudWatchLogGroupName() terra.StringValue
- func (lc ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (lc ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lc ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationExecuteCommandConfigurationLogConfigurationAttributes
- func (lc ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) S3BucketEncryptionEnabled() terra.BoolValue
- func (lc ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) S3BucketName() terra.StringValue
- func (lc ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) S3KeyPrefix() terra.StringValue
- type ConfigurationExecuteCommandConfigurationLogConfigurationState
- type ConfigurationExecuteCommandConfigurationState
- type ConfigurationState
- type DataArgs
- type DataServiceConnectDefaultsAttributes
- func (scd DataServiceConnectDefaultsAttributes) InternalRef() (terra.Reference, error)
- func (scd DataServiceConnectDefaultsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (scd DataServiceConnectDefaultsAttributes) InternalWithRef(ref terra.Reference) DataServiceConnectDefaultsAttributes
- func (scd DataServiceConnectDefaultsAttributes) Namespace() terra.StringValue
- type DataServiceConnectDefaultsState
- type DataSettingAttributes
- func (s DataSettingAttributes) InternalRef() (terra.Reference, error)
- func (s DataSettingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DataSettingAttributes) InternalWithRef(ref terra.Reference) DataSettingAttributes
- func (s DataSettingAttributes) Name() terra.StringValue
- func (s DataSettingAttributes) Value() terra.StringValue
- type DataSettingState
- type DataSource
- type Resource
- func (aec *Resource) Attributes() awsEcsClusterAttributes
- func (aec *Resource) Configuration() interface{}
- func (aec *Resource) DependOn() terra.Reference
- func (aec *Resource) Dependencies() terra.Dependencies
- func (aec *Resource) ImportState(state io.Reader) error
- func (aec *Resource) LifecycleManagement() *terra.Lifecycle
- func (aec *Resource) LocalName() string
- func (aec *Resource) State() (*awsEcsClusterState, bool)
- func (aec *Resource) StateMust() *awsEcsClusterState
- func (aec *Resource) Type() string
- type ServiceConnectDefaults
- type ServiceConnectDefaultsAttributes
- func (scd ServiceConnectDefaultsAttributes) InternalRef() (terra.Reference, error)
- func (scd ServiceConnectDefaultsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (scd ServiceConnectDefaultsAttributes) InternalWithRef(ref terra.Reference) ServiceConnectDefaultsAttributes
- func (scd ServiceConnectDefaultsAttributes) Namespace() terra.StringValue
- type ServiceConnectDefaultsState
- type Setting
- type SettingAttributes
- func (s SettingAttributes) InternalRef() (terra.Reference, error)
- func (s SettingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SettingAttributes) InternalWithRef(ref terra.Reference) SettingAttributes
- func (s SettingAttributes) Name() terra.StringValue
- func (s SettingAttributes) Value() terra.StringValue
- type SettingState
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"` // Name: string, required Name terra.StringValue `hcl:"name,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"` // Configuration: optional Configuration *Configuration `hcl:"configuration,block"` // ServiceConnectDefaults: optional ServiceConnectDefaults *ServiceConnectDefaults `hcl:"service_connect_defaults,block"` // Setting: min=0 Setting []Setting `hcl:"setting,block" validate:"min=0"` }
Args contains the configurations for aws_ecs_cluster.
type Configuration ¶
type Configuration struct { // ConfigurationExecuteCommandConfiguration: optional ExecuteCommandConfiguration *ConfigurationExecuteCommandConfiguration `hcl:"execute_command_configuration,block"` }
type ConfigurationAttributes ¶
type ConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationAttributes) ExecuteCommandConfiguration ¶
func (c ConfigurationAttributes) ExecuteCommandConfiguration() terra.ListValue[ConfigurationExecuteCommandConfigurationAttributes]
func (ConfigurationAttributes) InternalRef ¶
func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationAttributes) InternalTokens ¶
func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationAttributes) InternalWithRef ¶
func (c ConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationAttributes
type ConfigurationExecuteCommandConfiguration ¶
type ConfigurationExecuteCommandConfiguration struct { // KmsKeyId: string, optional KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"` // Logging: string, optional Logging terra.StringValue `hcl:"logging,attr"` // ConfigurationExecuteCommandConfigurationLogConfiguration: optional LogConfiguration *ConfigurationExecuteCommandConfigurationLogConfiguration `hcl:"log_configuration,block"` }
type ConfigurationExecuteCommandConfigurationAttributes ¶
type ConfigurationExecuteCommandConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationExecuteCommandConfigurationAttributes) InternalRef ¶
func (ecc ConfigurationExecuteCommandConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationExecuteCommandConfigurationAttributes) InternalTokens ¶
func (ecc ConfigurationExecuteCommandConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationExecuteCommandConfigurationAttributes) InternalWithRef ¶
func (ecc ConfigurationExecuteCommandConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationExecuteCommandConfigurationAttributes
func (ConfigurationExecuteCommandConfigurationAttributes) KmsKeyId ¶
func (ecc ConfigurationExecuteCommandConfigurationAttributes) KmsKeyId() terra.StringValue
func (ConfigurationExecuteCommandConfigurationAttributes) LogConfiguration ¶
func (ecc ConfigurationExecuteCommandConfigurationAttributes) LogConfiguration() terra.ListValue[ConfigurationExecuteCommandConfigurationLogConfigurationAttributes]
func (ConfigurationExecuteCommandConfigurationAttributes) Logging ¶
func (ecc ConfigurationExecuteCommandConfigurationAttributes) Logging() terra.StringValue
type ConfigurationExecuteCommandConfigurationLogConfiguration ¶
type ConfigurationExecuteCommandConfigurationLogConfiguration struct { // CloudWatchEncryptionEnabled: bool, optional CloudWatchEncryptionEnabled terra.BoolValue `hcl:"cloud_watch_encryption_enabled,attr"` // CloudWatchLogGroupName: string, optional CloudWatchLogGroupName terra.StringValue `hcl:"cloud_watch_log_group_name,attr"` // S3BucketEncryptionEnabled: bool, optional S3BucketEncryptionEnabled terra.BoolValue `hcl:"s3_bucket_encryption_enabled,attr"` // S3BucketName: string, optional S3BucketName terra.StringValue `hcl:"s3_bucket_name,attr"` // S3KeyPrefix: string, optional S3KeyPrefix terra.StringValue `hcl:"s3_key_prefix,attr"` }
type ConfigurationExecuteCommandConfigurationLogConfigurationAttributes ¶
type ConfigurationExecuteCommandConfigurationLogConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) CloudWatchEncryptionEnabled ¶
func (lc ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) CloudWatchEncryptionEnabled() terra.BoolValue
func (ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) CloudWatchLogGroupName ¶
func (lc ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) CloudWatchLogGroupName() terra.StringValue
func (ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) InternalRef ¶
func (lc ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) InternalTokens ¶
func (lc ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) InternalWithRef ¶
func (ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) S3BucketEncryptionEnabled ¶
func (lc ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) S3BucketEncryptionEnabled() terra.BoolValue
func (ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) S3BucketName ¶
func (lc ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) S3BucketName() terra.StringValue
func (ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) S3KeyPrefix ¶
func (lc ConfigurationExecuteCommandConfigurationLogConfigurationAttributes) S3KeyPrefix() terra.StringValue
type ConfigurationExecuteCommandConfigurationLogConfigurationState ¶
type ConfigurationExecuteCommandConfigurationLogConfigurationState struct { CloudWatchEncryptionEnabled bool `json:"cloud_watch_encryption_enabled"` CloudWatchLogGroupName string `json:"cloud_watch_log_group_name"` S3BucketEncryptionEnabled bool `json:"s3_bucket_encryption_enabled"` S3BucketName string `json:"s3_bucket_name"` S3KeyPrefix string `json:"s3_key_prefix"` }
type ConfigurationExecuteCommandConfigurationState ¶
type ConfigurationExecuteCommandConfigurationState struct { KmsKeyId string `json:"kms_key_id"` Logging string `json:"logging"` LogConfiguration []ConfigurationExecuteCommandConfigurationLogConfigurationState `json:"log_configuration"` }
type ConfigurationState ¶
type ConfigurationState struct {
ExecuteCommandConfiguration []ConfigurationExecuteCommandConfigurationState `json:"execute_command_configuration"`
}
type DataArgs ¶
type DataArgs struct { // ClusterName: string, required ClusterName terra.StringValue `hcl:"cluster_name,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` }
DataArgs contains the configurations for aws_ecs_cluster.
type DataServiceConnectDefaultsAttributes ¶
type DataServiceConnectDefaultsAttributes struct {
// contains filtered or unexported fields
}
func (DataServiceConnectDefaultsAttributes) InternalRef ¶
func (scd DataServiceConnectDefaultsAttributes) InternalRef() (terra.Reference, error)
func (DataServiceConnectDefaultsAttributes) InternalTokens ¶
func (scd DataServiceConnectDefaultsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataServiceConnectDefaultsAttributes) InternalWithRef ¶
func (scd DataServiceConnectDefaultsAttributes) InternalWithRef(ref terra.Reference) DataServiceConnectDefaultsAttributes
func (DataServiceConnectDefaultsAttributes) Namespace ¶
func (scd DataServiceConnectDefaultsAttributes) Namespace() terra.StringValue
type DataServiceConnectDefaultsState ¶
type DataServiceConnectDefaultsState struct {
Namespace string `json:"namespace"`
}
type DataSettingAttributes ¶
type DataSettingAttributes struct {
// contains filtered or unexported fields
}
func (DataSettingAttributes) InternalRef ¶
func (s DataSettingAttributes) InternalRef() (terra.Reference, error)
func (DataSettingAttributes) InternalTokens ¶
func (s DataSettingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSettingAttributes) InternalWithRef ¶
func (s DataSettingAttributes) InternalWithRef(ref terra.Reference) DataSettingAttributes
func (DataSettingAttributes) Name ¶
func (s DataSettingAttributes) Name() terra.StringValue
func (DataSettingAttributes) Value ¶
func (s DataSettingAttributes) Value() terra.StringValue
type DataSettingState ¶
type DataSource ¶
DataSource represents the Terraform data resource aws_ecs_cluster.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (aec *DataSource) Attributes() dataAwsEcsClusterAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (aec *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (aec *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (aec *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_ecs_cluster.
func (*Resource) Attributes ¶
func (aec *Resource) Attributes() awsEcsClusterAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aec *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aec *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.
type ServiceConnectDefaults ¶
type ServiceConnectDefaults struct { // Namespace: string, required Namespace terra.StringValue `hcl:"namespace,attr" validate:"required"` }
type ServiceConnectDefaultsAttributes ¶
type ServiceConnectDefaultsAttributes struct {
// contains filtered or unexported fields
}
func (ServiceConnectDefaultsAttributes) InternalRef ¶
func (scd ServiceConnectDefaultsAttributes) InternalRef() (terra.Reference, error)
func (ServiceConnectDefaultsAttributes) InternalTokens ¶
func (scd ServiceConnectDefaultsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceConnectDefaultsAttributes) InternalWithRef ¶
func (scd ServiceConnectDefaultsAttributes) InternalWithRef(ref terra.Reference) ServiceConnectDefaultsAttributes
func (ServiceConnectDefaultsAttributes) Namespace ¶
func (scd ServiceConnectDefaultsAttributes) Namespace() terra.StringValue
type ServiceConnectDefaultsState ¶
type ServiceConnectDefaultsState struct {
Namespace string `json:"namespace"`
}
type Setting ¶
type Setting struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type SettingAttributes ¶
type SettingAttributes struct {
// contains filtered or unexported fields
}
func (SettingAttributes) InternalRef ¶
func (s SettingAttributes) InternalRef() (terra.Reference, error)
func (SettingAttributes) InternalTokens ¶
func (s SettingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SettingAttributes) InternalWithRef ¶
func (s SettingAttributes) InternalWithRef(ref terra.Reference) SettingAttributes
func (SettingAttributes) Name ¶
func (s SettingAttributes) Name() terra.StringValue
func (SettingAttributes) Value ¶
func (s SettingAttributes) Value() terra.StringValue