Documentation ¶
Index ¶
- type Alarms
- type AlarmsAttributes
- func (a AlarmsAttributes) AlarmNames() terra.SetValue[terra.StringValue]
- func (a AlarmsAttributes) Enable() terra.BoolValue
- func (a AlarmsAttributes) InternalRef() (terra.Reference, error)
- func (a AlarmsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AlarmsAttributes) InternalWithRef(ref terra.Reference) AlarmsAttributes
- func (a AlarmsAttributes) Rollback() terra.BoolValue
- type AlarmsState
- type Args
- type CapacityProviderStrategy
- type CapacityProviderStrategyAttributes
- func (cps CapacityProviderStrategyAttributes) Base() terra.NumberValue
- func (cps CapacityProviderStrategyAttributes) CapacityProvider() terra.StringValue
- func (cps CapacityProviderStrategyAttributes) InternalRef() (terra.Reference, error)
- func (cps CapacityProviderStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cps CapacityProviderStrategyAttributes) InternalWithRef(ref terra.Reference) CapacityProviderStrategyAttributes
- func (cps CapacityProviderStrategyAttributes) Weight() terra.NumberValue
- type CapacityProviderStrategyState
- type DataArgs
- type DataSource
- type DeploymentCircuitBreaker
- type DeploymentCircuitBreakerAttributes
- func (dcb DeploymentCircuitBreakerAttributes) Enable() terra.BoolValue
- func (dcb DeploymentCircuitBreakerAttributes) InternalRef() (terra.Reference, error)
- func (dcb DeploymentCircuitBreakerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dcb DeploymentCircuitBreakerAttributes) InternalWithRef(ref terra.Reference) DeploymentCircuitBreakerAttributes
- func (dcb DeploymentCircuitBreakerAttributes) Rollback() terra.BoolValue
- type DeploymentCircuitBreakerState
- type DeploymentController
- type DeploymentControllerAttributes
- func (dc DeploymentControllerAttributes) InternalRef() (terra.Reference, error)
- func (dc DeploymentControllerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dc DeploymentControllerAttributes) InternalWithRef(ref terra.Reference) DeploymentControllerAttributes
- func (dc DeploymentControllerAttributes) Type() terra.StringValue
- type DeploymentControllerState
- type LoadBalancer
- type LoadBalancerAttributes
- func (lb LoadBalancerAttributes) ContainerName() terra.StringValue
- func (lb LoadBalancerAttributes) ContainerPort() terra.NumberValue
- func (lb LoadBalancerAttributes) ElbName() terra.StringValue
- func (lb LoadBalancerAttributes) InternalRef() (terra.Reference, error)
- func (lb LoadBalancerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lb LoadBalancerAttributes) InternalWithRef(ref terra.Reference) LoadBalancerAttributes
- func (lb LoadBalancerAttributes) TargetGroupArn() terra.StringValue
- type LoadBalancerState
- type NetworkConfiguration
- type NetworkConfigurationAttributes
- func (nc NetworkConfigurationAttributes) AssignPublicIp() terra.BoolValue
- func (nc NetworkConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nc NetworkConfigurationAttributes) InternalWithRef(ref terra.Reference) NetworkConfigurationAttributes
- func (nc NetworkConfigurationAttributes) SecurityGroups() terra.SetValue[terra.StringValue]
- func (nc NetworkConfigurationAttributes) Subnets() terra.SetValue[terra.StringValue]
- type NetworkConfigurationState
- type OrderedPlacementStrategy
- type OrderedPlacementStrategyAttributes
- func (ops OrderedPlacementStrategyAttributes) Field() terra.StringValue
- func (ops OrderedPlacementStrategyAttributes) InternalRef() (terra.Reference, error)
- func (ops OrderedPlacementStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ops OrderedPlacementStrategyAttributes) InternalWithRef(ref terra.Reference) OrderedPlacementStrategyAttributes
- func (ops OrderedPlacementStrategyAttributes) Type() terra.StringValue
- type OrderedPlacementStrategyState
- type PlacementConstraints
- type PlacementConstraintsAttributes
- func (pc PlacementConstraintsAttributes) Expression() terra.StringValue
- func (pc PlacementConstraintsAttributes) InternalRef() (terra.Reference, error)
- func (pc PlacementConstraintsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pc PlacementConstraintsAttributes) InternalWithRef(ref terra.Reference) PlacementConstraintsAttributes
- func (pc PlacementConstraintsAttributes) Type() terra.StringValue
- type PlacementConstraintsState
- type Resource
- func (aes *Resource) Attributes() awsEcsServiceAttributes
- func (aes *Resource) Configuration() interface{}
- func (aes *Resource) DependOn() terra.Reference
- func (aes *Resource) Dependencies() terra.Dependencies
- func (aes *Resource) ImportState(state io.Reader) error
- func (aes *Resource) LifecycleManagement() *terra.Lifecycle
- func (aes *Resource) LocalName() string
- func (aes *Resource) State() (*awsEcsServiceState, bool)
- func (aes *Resource) StateMust() *awsEcsServiceState
- func (aes *Resource) Type() string
- type ServiceConnectConfiguration
- type ServiceConnectConfigurationAttributes
- func (scc ServiceConnectConfigurationAttributes) Enabled() terra.BoolValue
- func (scc ServiceConnectConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (scc ServiceConnectConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (scc ServiceConnectConfigurationAttributes) InternalWithRef(ref terra.Reference) ServiceConnectConfigurationAttributes
- func (scc ServiceConnectConfigurationAttributes) LogConfiguration() terra.ListValue[ServiceConnectConfigurationLogConfigurationAttributes]
- func (scc ServiceConnectConfigurationAttributes) Namespace() terra.StringValue
- func (scc ServiceConnectConfigurationAttributes) Service() terra.ListValue[ServiceConnectConfigurationServiceAttributes]
- type ServiceConnectConfigurationLogConfiguration
- type ServiceConnectConfigurationLogConfigurationAttributes
- func (lc ServiceConnectConfigurationLogConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (lc ServiceConnectConfigurationLogConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lc ServiceConnectConfigurationLogConfigurationAttributes) InternalWithRef(ref terra.Reference) ServiceConnectConfigurationLogConfigurationAttributes
- func (lc ServiceConnectConfigurationLogConfigurationAttributes) LogDriver() terra.StringValue
- func (lc ServiceConnectConfigurationLogConfigurationAttributes) Options() terra.MapValue[terra.StringValue]
- func (lc ServiceConnectConfigurationLogConfigurationAttributes) SecretOption() ...
- type ServiceConnectConfigurationLogConfigurationSecretOption
- type ServiceConnectConfigurationLogConfigurationSecretOptionAttributes
- func (so ServiceConnectConfigurationLogConfigurationSecretOptionAttributes) InternalRef() (terra.Reference, error)
- func (so ServiceConnectConfigurationLogConfigurationSecretOptionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (so ServiceConnectConfigurationLogConfigurationSecretOptionAttributes) InternalWithRef(ref terra.Reference) ServiceConnectConfigurationLogConfigurationSecretOptionAttributes
- func (so ServiceConnectConfigurationLogConfigurationSecretOptionAttributes) Name() terra.StringValue
- func (so ServiceConnectConfigurationLogConfigurationSecretOptionAttributes) ValueFrom() terra.StringValue
- type ServiceConnectConfigurationLogConfigurationSecretOptionState
- type ServiceConnectConfigurationLogConfigurationState
- type ServiceConnectConfigurationService
- type ServiceConnectConfigurationServiceAttributes
- func (s ServiceConnectConfigurationServiceAttributes) ClientAlias() terra.ListValue[ServiceConnectConfigurationServiceClientAliasAttributes]
- func (s ServiceConnectConfigurationServiceAttributes) DiscoveryName() terra.StringValue
- func (s ServiceConnectConfigurationServiceAttributes) IngressPortOverride() terra.NumberValue
- func (s ServiceConnectConfigurationServiceAttributes) InternalRef() (terra.Reference, error)
- func (s ServiceConnectConfigurationServiceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s ServiceConnectConfigurationServiceAttributes) InternalWithRef(ref terra.Reference) ServiceConnectConfigurationServiceAttributes
- func (s ServiceConnectConfigurationServiceAttributes) PortName() terra.StringValue
- func (s ServiceConnectConfigurationServiceAttributes) Timeout() terra.ListValue[ServiceConnectConfigurationServiceTimeoutAttributes]
- func (s ServiceConnectConfigurationServiceAttributes) Tls() terra.ListValue[ServiceConnectConfigurationServiceTlsAttributes]
- type ServiceConnectConfigurationServiceClientAlias
- type ServiceConnectConfigurationServiceClientAliasAttributes
- func (ca ServiceConnectConfigurationServiceClientAliasAttributes) DnsName() terra.StringValue
- func (ca ServiceConnectConfigurationServiceClientAliasAttributes) InternalRef() (terra.Reference, error)
- func (ca ServiceConnectConfigurationServiceClientAliasAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ca ServiceConnectConfigurationServiceClientAliasAttributes) InternalWithRef(ref terra.Reference) ServiceConnectConfigurationServiceClientAliasAttributes
- func (ca ServiceConnectConfigurationServiceClientAliasAttributes) Port() terra.NumberValue
- type ServiceConnectConfigurationServiceClientAliasState
- type ServiceConnectConfigurationServiceState
- type ServiceConnectConfigurationServiceTimeout
- type ServiceConnectConfigurationServiceTimeoutAttributes
- func (t ServiceConnectConfigurationServiceTimeoutAttributes) IdleTimeoutSeconds() terra.NumberValue
- func (t ServiceConnectConfigurationServiceTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (t ServiceConnectConfigurationServiceTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t ServiceConnectConfigurationServiceTimeoutAttributes) InternalWithRef(ref terra.Reference) ServiceConnectConfigurationServiceTimeoutAttributes
- func (t ServiceConnectConfigurationServiceTimeoutAttributes) PerRequestTimeoutSeconds() terra.NumberValue
- type ServiceConnectConfigurationServiceTimeoutState
- type ServiceConnectConfigurationServiceTls
- type ServiceConnectConfigurationServiceTlsAttributes
- func (t ServiceConnectConfigurationServiceTlsAttributes) InternalRef() (terra.Reference, error)
- func (t ServiceConnectConfigurationServiceTlsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t ServiceConnectConfigurationServiceTlsAttributes) InternalWithRef(ref terra.Reference) ServiceConnectConfigurationServiceTlsAttributes
- func (t ServiceConnectConfigurationServiceTlsAttributes) IssuerCertAuthority() ...
- func (t ServiceConnectConfigurationServiceTlsAttributes) KmsKey() terra.StringValue
- func (t ServiceConnectConfigurationServiceTlsAttributes) RoleArn() terra.StringValue
- type ServiceConnectConfigurationServiceTlsIssuerCertAuthority
- type ServiceConnectConfigurationServiceTlsIssuerCertAuthorityAttributes
- func (ica ServiceConnectConfigurationServiceTlsIssuerCertAuthorityAttributes) AwsPcaAuthorityArn() terra.StringValue
- func (ica ServiceConnectConfigurationServiceTlsIssuerCertAuthorityAttributes) InternalRef() (terra.Reference, error)
- func (ica ServiceConnectConfigurationServiceTlsIssuerCertAuthorityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ica ServiceConnectConfigurationServiceTlsIssuerCertAuthorityAttributes) InternalWithRef(ref terra.Reference) ServiceConnectConfigurationServiceTlsIssuerCertAuthorityAttributes
- type ServiceConnectConfigurationServiceTlsIssuerCertAuthorityState
- type ServiceConnectConfigurationServiceTlsState
- type ServiceConnectConfigurationState
- type ServiceRegistries
- type ServiceRegistriesAttributes
- func (sr ServiceRegistriesAttributes) ContainerName() terra.StringValue
- func (sr ServiceRegistriesAttributes) ContainerPort() terra.NumberValue
- func (sr ServiceRegistriesAttributes) InternalRef() (terra.Reference, error)
- func (sr ServiceRegistriesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sr ServiceRegistriesAttributes) InternalWithRef(ref terra.Reference) ServiceRegistriesAttributes
- func (sr ServiceRegistriesAttributes) Port() terra.NumberValue
- func (sr ServiceRegistriesAttributes) RegistryArn() terra.StringValue
- type ServiceRegistriesState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alarms ¶
type Alarms struct { // AlarmNames: set of string, required AlarmNames terra.SetValue[terra.StringValue] `hcl:"alarm_names,attr" validate:"required"` // Enable: bool, required Enable terra.BoolValue `hcl:"enable,attr" validate:"required"` // Rollback: bool, required Rollback terra.BoolValue `hcl:"rollback,attr" validate:"required"` }
type AlarmsAttributes ¶
type AlarmsAttributes struct {
// contains filtered or unexported fields
}
func (AlarmsAttributes) AlarmNames ¶
func (a AlarmsAttributes) AlarmNames() terra.SetValue[terra.StringValue]
func (AlarmsAttributes) Enable ¶
func (a AlarmsAttributes) Enable() terra.BoolValue
func (AlarmsAttributes) InternalRef ¶
func (a AlarmsAttributes) InternalRef() (terra.Reference, error)
func (AlarmsAttributes) InternalTokens ¶
func (a AlarmsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AlarmsAttributes) InternalWithRef ¶
func (a AlarmsAttributes) InternalWithRef(ref terra.Reference) AlarmsAttributes
func (AlarmsAttributes) Rollback ¶
func (a AlarmsAttributes) Rollback() terra.BoolValue
type AlarmsState ¶
type Args ¶
type Args struct { // Cluster: string, optional Cluster terra.StringValue `hcl:"cluster,attr"` // DeploymentMaximumPercent: number, optional DeploymentMaximumPercent terra.NumberValue `hcl:"deployment_maximum_percent,attr"` // DeploymentMinimumHealthyPercent: number, optional DeploymentMinimumHealthyPercent terra.NumberValue `hcl:"deployment_minimum_healthy_percent,attr"` // DesiredCount: number, optional DesiredCount terra.NumberValue `hcl:"desired_count,attr"` // EnableEcsManagedTags: bool, optional EnableEcsManagedTags terra.BoolValue `hcl:"enable_ecs_managed_tags,attr"` // EnableExecuteCommand: bool, optional EnableExecuteCommand terra.BoolValue `hcl:"enable_execute_command,attr"` // ForceNewDeployment: bool, optional ForceNewDeployment terra.BoolValue `hcl:"force_new_deployment,attr"` // HealthCheckGracePeriodSeconds: number, optional HealthCheckGracePeriodSeconds terra.NumberValue `hcl:"health_check_grace_period_seconds,attr"` // IamRole: string, optional IamRole terra.StringValue `hcl:"iam_role,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // LaunchType: string, optional LaunchType terra.StringValue `hcl:"launch_type,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PlatformVersion: string, optional PlatformVersion terra.StringValue `hcl:"platform_version,attr"` // PropagateTags: string, optional PropagateTags terra.StringValue `hcl:"propagate_tags,attr"` // SchedulingStrategy: string, optional SchedulingStrategy terra.StringValue `hcl:"scheduling_strategy,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"` // TaskDefinition: string, optional TaskDefinition terra.StringValue `hcl:"task_definition,attr"` // Triggers: map of string, optional Triggers terra.MapValue[terra.StringValue] `hcl:"triggers,attr"` // WaitForSteadyState: bool, optional WaitForSteadyState terra.BoolValue `hcl:"wait_for_steady_state,attr"` // Alarms: optional Alarms *Alarms `hcl:"alarms,block"` // CapacityProviderStrategy: min=0 CapacityProviderStrategy []CapacityProviderStrategy `hcl:"capacity_provider_strategy,block" validate:"min=0"` // DeploymentCircuitBreaker: optional DeploymentCircuitBreaker *DeploymentCircuitBreaker `hcl:"deployment_circuit_breaker,block"` // DeploymentController: optional DeploymentController *DeploymentController `hcl:"deployment_controller,block"` // LoadBalancer: min=0 LoadBalancer []LoadBalancer `hcl:"load_balancer,block" validate:"min=0"` // NetworkConfiguration: optional NetworkConfiguration *NetworkConfiguration `hcl:"network_configuration,block"` // OrderedPlacementStrategy: min=0,max=5 OrderedPlacementStrategy []OrderedPlacementStrategy `hcl:"ordered_placement_strategy,block" validate:"min=0,max=5"` // PlacementConstraints: min=0,max=10 PlacementConstraints []PlacementConstraints `hcl:"placement_constraints,block" validate:"min=0,max=10"` // ServiceConnectConfiguration: optional ServiceConnectConfiguration *ServiceConnectConfiguration `hcl:"service_connect_configuration,block"` // ServiceRegistries: optional ServiceRegistries *ServiceRegistries `hcl:"service_registries,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_ecs_service.
type CapacityProviderStrategy ¶
type CapacityProviderStrategy struct { // Base: number, optional Base terra.NumberValue `hcl:"base,attr"` // CapacityProvider: string, required CapacityProvider terra.StringValue `hcl:"capacity_provider,attr" validate:"required"` // Weight: number, optional Weight terra.NumberValue `hcl:"weight,attr"` }
type CapacityProviderStrategyAttributes ¶
type CapacityProviderStrategyAttributes struct {
// contains filtered or unexported fields
}
func (CapacityProviderStrategyAttributes) Base ¶
func (cps CapacityProviderStrategyAttributes) Base() terra.NumberValue
func (CapacityProviderStrategyAttributes) CapacityProvider ¶
func (cps CapacityProviderStrategyAttributes) CapacityProvider() terra.StringValue
func (CapacityProviderStrategyAttributes) InternalRef ¶
func (cps CapacityProviderStrategyAttributes) InternalRef() (terra.Reference, error)
func (CapacityProviderStrategyAttributes) InternalTokens ¶
func (cps CapacityProviderStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CapacityProviderStrategyAttributes) InternalWithRef ¶
func (cps CapacityProviderStrategyAttributes) InternalWithRef(ref terra.Reference) CapacityProviderStrategyAttributes
func (CapacityProviderStrategyAttributes) Weight ¶
func (cps CapacityProviderStrategyAttributes) Weight() terra.NumberValue
type DataArgs ¶
type DataArgs struct { // ClusterArn: string, required ClusterArn terra.StringValue `hcl:"cluster_arn,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ServiceName: string, required ServiceName terra.StringValue `hcl:"service_name,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` }
DataArgs contains the configurations for aws_ecs_service.
type DataSource ¶
DataSource represents the Terraform data resource aws_ecs_service.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (aes *DataSource) Attributes() dataAwsEcsServiceAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (aes *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (aes *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (aes *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DeploymentCircuitBreakerAttributes ¶
type DeploymentCircuitBreakerAttributes struct {
// contains filtered or unexported fields
}
func (DeploymentCircuitBreakerAttributes) Enable ¶
func (dcb DeploymentCircuitBreakerAttributes) Enable() terra.BoolValue
func (DeploymentCircuitBreakerAttributes) InternalRef ¶
func (dcb DeploymentCircuitBreakerAttributes) InternalRef() (terra.Reference, error)
func (DeploymentCircuitBreakerAttributes) InternalTokens ¶
func (dcb DeploymentCircuitBreakerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DeploymentCircuitBreakerAttributes) InternalWithRef ¶
func (dcb DeploymentCircuitBreakerAttributes) InternalWithRef(ref terra.Reference) DeploymentCircuitBreakerAttributes
func (DeploymentCircuitBreakerAttributes) Rollback ¶
func (dcb DeploymentCircuitBreakerAttributes) Rollback() terra.BoolValue
type DeploymentController ¶
type DeploymentController struct { // Type: string, optional Type terra.StringValue `hcl:"type,attr"` }
type DeploymentControllerAttributes ¶
type DeploymentControllerAttributes struct {
// contains filtered or unexported fields
}
func (DeploymentControllerAttributes) InternalRef ¶
func (dc DeploymentControllerAttributes) InternalRef() (terra.Reference, error)
func (DeploymentControllerAttributes) InternalTokens ¶
func (dc DeploymentControllerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DeploymentControllerAttributes) InternalWithRef ¶
func (dc DeploymentControllerAttributes) InternalWithRef(ref terra.Reference) DeploymentControllerAttributes
func (DeploymentControllerAttributes) Type ¶
func (dc DeploymentControllerAttributes) Type() terra.StringValue
type DeploymentControllerState ¶
type DeploymentControllerState struct {
Type string `json:"type"`
}
type LoadBalancer ¶
type LoadBalancer struct { // ContainerName: string, required ContainerName terra.StringValue `hcl:"container_name,attr" validate:"required"` // ContainerPort: number, required ContainerPort terra.NumberValue `hcl:"container_port,attr" validate:"required"` // ElbName: string, optional ElbName terra.StringValue `hcl:"elb_name,attr"` // TargetGroupArn: string, optional TargetGroupArn terra.StringValue `hcl:"target_group_arn,attr"` }
type LoadBalancerAttributes ¶
type LoadBalancerAttributes struct {
// contains filtered or unexported fields
}
func (LoadBalancerAttributes) ContainerName ¶
func (lb LoadBalancerAttributes) ContainerName() terra.StringValue
func (LoadBalancerAttributes) ContainerPort ¶
func (lb LoadBalancerAttributes) ContainerPort() terra.NumberValue
func (LoadBalancerAttributes) ElbName ¶
func (lb LoadBalancerAttributes) ElbName() terra.StringValue
func (LoadBalancerAttributes) InternalRef ¶
func (lb LoadBalancerAttributes) InternalRef() (terra.Reference, error)
func (LoadBalancerAttributes) InternalTokens ¶
func (lb LoadBalancerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoadBalancerAttributes) InternalWithRef ¶
func (lb LoadBalancerAttributes) InternalWithRef(ref terra.Reference) LoadBalancerAttributes
func (LoadBalancerAttributes) TargetGroupArn ¶
func (lb LoadBalancerAttributes) TargetGroupArn() terra.StringValue
type LoadBalancerState ¶
type NetworkConfiguration ¶
type NetworkConfiguration struct { // AssignPublicIp: bool, optional AssignPublicIp terra.BoolValue `hcl:"assign_public_ip,attr"` // SecurityGroups: set of string, optional SecurityGroups terra.SetValue[terra.StringValue] `hcl:"security_groups,attr"` // Subnets: set of string, required Subnets terra.SetValue[terra.StringValue] `hcl:"subnets,attr" validate:"required"` }
type NetworkConfigurationAttributes ¶
type NetworkConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (NetworkConfigurationAttributes) AssignPublicIp ¶
func (nc NetworkConfigurationAttributes) AssignPublicIp() terra.BoolValue
func (NetworkConfigurationAttributes) InternalRef ¶
func (nc NetworkConfigurationAttributes) InternalRef() (terra.Reference, error)
func (NetworkConfigurationAttributes) InternalTokens ¶
func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkConfigurationAttributes) InternalWithRef ¶
func (nc NetworkConfigurationAttributes) InternalWithRef(ref terra.Reference) NetworkConfigurationAttributes
func (NetworkConfigurationAttributes) SecurityGroups ¶
func (nc NetworkConfigurationAttributes) SecurityGroups() terra.SetValue[terra.StringValue]
func (NetworkConfigurationAttributes) Subnets ¶
func (nc NetworkConfigurationAttributes) Subnets() terra.SetValue[terra.StringValue]
type OrderedPlacementStrategy ¶
type OrderedPlacementStrategy struct { // Field: string, optional Field terra.StringValue `hcl:"field,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type OrderedPlacementStrategyAttributes ¶
type OrderedPlacementStrategyAttributes struct {
// contains filtered or unexported fields
}
func (OrderedPlacementStrategyAttributes) Field ¶
func (ops OrderedPlacementStrategyAttributes) Field() terra.StringValue
func (OrderedPlacementStrategyAttributes) InternalRef ¶
func (ops OrderedPlacementStrategyAttributes) InternalRef() (terra.Reference, error)
func (OrderedPlacementStrategyAttributes) InternalTokens ¶
func (ops OrderedPlacementStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OrderedPlacementStrategyAttributes) InternalWithRef ¶
func (ops OrderedPlacementStrategyAttributes) InternalWithRef(ref terra.Reference) OrderedPlacementStrategyAttributes
func (OrderedPlacementStrategyAttributes) Type ¶
func (ops OrderedPlacementStrategyAttributes) Type() terra.StringValue
type PlacementConstraints ¶
type PlacementConstraints struct { // Expression: string, optional Expression terra.StringValue `hcl:"expression,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type PlacementConstraintsAttributes ¶
type PlacementConstraintsAttributes struct {
// contains filtered or unexported fields
}
func (PlacementConstraintsAttributes) Expression ¶
func (pc PlacementConstraintsAttributes) Expression() terra.StringValue
func (PlacementConstraintsAttributes) InternalRef ¶
func (pc PlacementConstraintsAttributes) InternalRef() (terra.Reference, error)
func (PlacementConstraintsAttributes) InternalTokens ¶
func (pc PlacementConstraintsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PlacementConstraintsAttributes) InternalWithRef ¶
func (pc PlacementConstraintsAttributes) InternalWithRef(ref terra.Reference) PlacementConstraintsAttributes
func (PlacementConstraintsAttributes) Type ¶
func (pc PlacementConstraintsAttributes) Type() terra.StringValue
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_service.
func (*Resource) Attributes ¶
func (aes *Resource) Attributes() awsEcsServiceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aes *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aes *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 ServiceConnectConfiguration ¶
type ServiceConnectConfiguration struct { // Enabled: bool, required Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"` // Namespace: string, optional Namespace terra.StringValue `hcl:"namespace,attr"` // ServiceConnectConfigurationLogConfiguration: optional LogConfiguration *ServiceConnectConfigurationLogConfiguration `hcl:"log_configuration,block"` // ServiceConnectConfigurationService: min=0 Service []ServiceConnectConfigurationService `hcl:"service,block" validate:"min=0"` }
type ServiceConnectConfigurationAttributes ¶
type ServiceConnectConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ServiceConnectConfigurationAttributes) Enabled ¶
func (scc ServiceConnectConfigurationAttributes) Enabled() terra.BoolValue
func (ServiceConnectConfigurationAttributes) InternalRef ¶
func (scc ServiceConnectConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ServiceConnectConfigurationAttributes) InternalTokens ¶
func (scc ServiceConnectConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceConnectConfigurationAttributes) InternalWithRef ¶
func (scc ServiceConnectConfigurationAttributes) InternalWithRef(ref terra.Reference) ServiceConnectConfigurationAttributes
func (ServiceConnectConfigurationAttributes) LogConfiguration ¶
func (scc ServiceConnectConfigurationAttributes) LogConfiguration() terra.ListValue[ServiceConnectConfigurationLogConfigurationAttributes]
func (ServiceConnectConfigurationAttributes) Namespace ¶
func (scc ServiceConnectConfigurationAttributes) Namespace() terra.StringValue
func (ServiceConnectConfigurationAttributes) Service ¶
func (scc ServiceConnectConfigurationAttributes) Service() terra.ListValue[ServiceConnectConfigurationServiceAttributes]
type ServiceConnectConfigurationLogConfiguration ¶
type ServiceConnectConfigurationLogConfiguration struct { // LogDriver: string, required LogDriver terra.StringValue `hcl:"log_driver,attr" validate:"required"` // Options: map of string, optional Options terra.MapValue[terra.StringValue] `hcl:"options,attr"` // ServiceConnectConfigurationLogConfigurationSecretOption: min=0 SecretOption []ServiceConnectConfigurationLogConfigurationSecretOption `hcl:"secret_option,block" validate:"min=0"` }
type ServiceConnectConfigurationLogConfigurationAttributes ¶
type ServiceConnectConfigurationLogConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ServiceConnectConfigurationLogConfigurationAttributes) InternalRef ¶
func (lc ServiceConnectConfigurationLogConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ServiceConnectConfigurationLogConfigurationAttributes) InternalTokens ¶
func (lc ServiceConnectConfigurationLogConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceConnectConfigurationLogConfigurationAttributes) InternalWithRef ¶
func (lc ServiceConnectConfigurationLogConfigurationAttributes) InternalWithRef(ref terra.Reference) ServiceConnectConfigurationLogConfigurationAttributes
func (ServiceConnectConfigurationLogConfigurationAttributes) LogDriver ¶
func (lc ServiceConnectConfigurationLogConfigurationAttributes) LogDriver() terra.StringValue
func (ServiceConnectConfigurationLogConfigurationAttributes) Options ¶
func (lc ServiceConnectConfigurationLogConfigurationAttributes) Options() terra.MapValue[terra.StringValue]
func (ServiceConnectConfigurationLogConfigurationAttributes) SecretOption ¶
type ServiceConnectConfigurationLogConfigurationSecretOption ¶
type ServiceConnectConfigurationLogConfigurationSecretOption struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ValueFrom: string, required ValueFrom terra.StringValue `hcl:"value_from,attr" validate:"required"` }
type ServiceConnectConfigurationLogConfigurationSecretOptionAttributes ¶
type ServiceConnectConfigurationLogConfigurationSecretOptionAttributes struct {
// contains filtered or unexported fields
}
func (ServiceConnectConfigurationLogConfigurationSecretOptionAttributes) InternalRef ¶
func (so ServiceConnectConfigurationLogConfigurationSecretOptionAttributes) InternalRef() (terra.Reference, error)
func (ServiceConnectConfigurationLogConfigurationSecretOptionAttributes) InternalTokens ¶
func (so ServiceConnectConfigurationLogConfigurationSecretOptionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceConnectConfigurationLogConfigurationSecretOptionAttributes) InternalWithRef ¶
func (ServiceConnectConfigurationLogConfigurationSecretOptionAttributes) ValueFrom ¶
func (so ServiceConnectConfigurationLogConfigurationSecretOptionAttributes) ValueFrom() terra.StringValue
type ServiceConnectConfigurationLogConfigurationState ¶
type ServiceConnectConfigurationLogConfigurationState struct { LogDriver string `json:"log_driver"` Options map[string]string `json:"options"` SecretOption []ServiceConnectConfigurationLogConfigurationSecretOptionState `json:"secret_option"` }
type ServiceConnectConfigurationService ¶
type ServiceConnectConfigurationService struct { // DiscoveryName: string, optional DiscoveryName terra.StringValue `hcl:"discovery_name,attr"` // IngressPortOverride: number, optional IngressPortOverride terra.NumberValue `hcl:"ingress_port_override,attr"` // PortName: string, required PortName terra.StringValue `hcl:"port_name,attr" validate:"required"` // ServiceConnectConfigurationServiceClientAlias: optional ClientAlias *ServiceConnectConfigurationServiceClientAlias `hcl:"client_alias,block"` // ServiceConnectConfigurationServiceTimeout: optional Timeout *ServiceConnectConfigurationServiceTimeout `hcl:"timeout,block"` // ServiceConnectConfigurationServiceTls: optional Tls *ServiceConnectConfigurationServiceTls `hcl:"tls,block"` }
type ServiceConnectConfigurationServiceAttributes ¶
type ServiceConnectConfigurationServiceAttributes struct {
// contains filtered or unexported fields
}
func (ServiceConnectConfigurationServiceAttributes) ClientAlias ¶
func (ServiceConnectConfigurationServiceAttributes) DiscoveryName ¶
func (s ServiceConnectConfigurationServiceAttributes) DiscoveryName() terra.StringValue
func (ServiceConnectConfigurationServiceAttributes) IngressPortOverride ¶
func (s ServiceConnectConfigurationServiceAttributes) IngressPortOverride() terra.NumberValue
func (ServiceConnectConfigurationServiceAttributes) InternalRef ¶
func (s ServiceConnectConfigurationServiceAttributes) InternalRef() (terra.Reference, error)
func (ServiceConnectConfigurationServiceAttributes) InternalTokens ¶
func (s ServiceConnectConfigurationServiceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceConnectConfigurationServiceAttributes) InternalWithRef ¶
func (s ServiceConnectConfigurationServiceAttributes) InternalWithRef(ref terra.Reference) ServiceConnectConfigurationServiceAttributes
func (ServiceConnectConfigurationServiceAttributes) PortName ¶
func (s ServiceConnectConfigurationServiceAttributes) PortName() terra.StringValue
type ServiceConnectConfigurationServiceClientAlias ¶
type ServiceConnectConfigurationServiceClientAlias struct { // DnsName: string, optional DnsName terra.StringValue `hcl:"dns_name,attr"` // Port: number, required Port terra.NumberValue `hcl:"port,attr" validate:"required"` }
type ServiceConnectConfigurationServiceClientAliasAttributes ¶
type ServiceConnectConfigurationServiceClientAliasAttributes struct {
// contains filtered or unexported fields
}
func (ServiceConnectConfigurationServiceClientAliasAttributes) DnsName ¶
func (ca ServiceConnectConfigurationServiceClientAliasAttributes) DnsName() terra.StringValue
func (ServiceConnectConfigurationServiceClientAliasAttributes) InternalRef ¶
func (ca ServiceConnectConfigurationServiceClientAliasAttributes) InternalRef() (terra.Reference, error)
func (ServiceConnectConfigurationServiceClientAliasAttributes) InternalTokens ¶
func (ca ServiceConnectConfigurationServiceClientAliasAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceConnectConfigurationServiceClientAliasAttributes) InternalWithRef ¶
func (ca ServiceConnectConfigurationServiceClientAliasAttributes) InternalWithRef(ref terra.Reference) ServiceConnectConfigurationServiceClientAliasAttributes
func (ServiceConnectConfigurationServiceClientAliasAttributes) Port ¶
func (ca ServiceConnectConfigurationServiceClientAliasAttributes) Port() terra.NumberValue
type ServiceConnectConfigurationServiceState ¶
type ServiceConnectConfigurationServiceState struct { DiscoveryName string `json:"discovery_name"` IngressPortOverride float64 `json:"ingress_port_override"` PortName string `json:"port_name"` ClientAlias []ServiceConnectConfigurationServiceClientAliasState `json:"client_alias"` Timeout []ServiceConnectConfigurationServiceTimeoutState `json:"timeout"` Tls []ServiceConnectConfigurationServiceTlsState `json:"tls"` }
type ServiceConnectConfigurationServiceTimeout ¶
type ServiceConnectConfigurationServiceTimeout struct { // IdleTimeoutSeconds: number, optional IdleTimeoutSeconds terra.NumberValue `hcl:"idle_timeout_seconds,attr"` // PerRequestTimeoutSeconds: number, optional PerRequestTimeoutSeconds terra.NumberValue `hcl:"per_request_timeout_seconds,attr"` }
type ServiceConnectConfigurationServiceTimeoutAttributes ¶
type ServiceConnectConfigurationServiceTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (ServiceConnectConfigurationServiceTimeoutAttributes) IdleTimeoutSeconds ¶
func (t ServiceConnectConfigurationServiceTimeoutAttributes) IdleTimeoutSeconds() terra.NumberValue
func (ServiceConnectConfigurationServiceTimeoutAttributes) InternalRef ¶
func (t ServiceConnectConfigurationServiceTimeoutAttributes) InternalRef() (terra.Reference, error)
func (ServiceConnectConfigurationServiceTimeoutAttributes) InternalTokens ¶
func (t ServiceConnectConfigurationServiceTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceConnectConfigurationServiceTimeoutAttributes) InternalWithRef ¶
func (t ServiceConnectConfigurationServiceTimeoutAttributes) InternalWithRef(ref terra.Reference) ServiceConnectConfigurationServiceTimeoutAttributes
func (ServiceConnectConfigurationServiceTimeoutAttributes) PerRequestTimeoutSeconds ¶
func (t ServiceConnectConfigurationServiceTimeoutAttributes) PerRequestTimeoutSeconds() terra.NumberValue
type ServiceConnectConfigurationServiceTls ¶
type ServiceConnectConfigurationServiceTls struct { // KmsKey: string, optional KmsKey terra.StringValue `hcl:"kms_key,attr"` // RoleArn: string, optional RoleArn terra.StringValue `hcl:"role_arn,attr"` // ServiceConnectConfigurationServiceTlsIssuerCertAuthority: required IssuerCertAuthority *ServiceConnectConfigurationServiceTlsIssuerCertAuthority `hcl:"issuer_cert_authority,block" validate:"required"` }
type ServiceConnectConfigurationServiceTlsAttributes ¶
type ServiceConnectConfigurationServiceTlsAttributes struct {
// contains filtered or unexported fields
}
func (ServiceConnectConfigurationServiceTlsAttributes) InternalRef ¶
func (t ServiceConnectConfigurationServiceTlsAttributes) InternalRef() (terra.Reference, error)
func (ServiceConnectConfigurationServiceTlsAttributes) InternalTokens ¶
func (t ServiceConnectConfigurationServiceTlsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceConnectConfigurationServiceTlsAttributes) InternalWithRef ¶
func (t ServiceConnectConfigurationServiceTlsAttributes) InternalWithRef(ref terra.Reference) ServiceConnectConfigurationServiceTlsAttributes
func (ServiceConnectConfigurationServiceTlsAttributes) IssuerCertAuthority ¶
func (t ServiceConnectConfigurationServiceTlsAttributes) IssuerCertAuthority() terra.ListValue[ServiceConnectConfigurationServiceTlsIssuerCertAuthorityAttributes]
func (ServiceConnectConfigurationServiceTlsAttributes) KmsKey ¶
func (t ServiceConnectConfigurationServiceTlsAttributes) KmsKey() terra.StringValue
func (ServiceConnectConfigurationServiceTlsAttributes) RoleArn ¶
func (t ServiceConnectConfigurationServiceTlsAttributes) RoleArn() terra.StringValue
type ServiceConnectConfigurationServiceTlsIssuerCertAuthority ¶
type ServiceConnectConfigurationServiceTlsIssuerCertAuthority struct { // AwsPcaAuthorityArn: string, required AwsPcaAuthorityArn terra.StringValue `hcl:"aws_pca_authority_arn,attr" validate:"required"` }
type ServiceConnectConfigurationServiceTlsIssuerCertAuthorityAttributes ¶
type ServiceConnectConfigurationServiceTlsIssuerCertAuthorityAttributes struct {
// contains filtered or unexported fields
}
func (ServiceConnectConfigurationServiceTlsIssuerCertAuthorityAttributes) AwsPcaAuthorityArn ¶
func (ica ServiceConnectConfigurationServiceTlsIssuerCertAuthorityAttributes) AwsPcaAuthorityArn() terra.StringValue
func (ServiceConnectConfigurationServiceTlsIssuerCertAuthorityAttributes) InternalRef ¶
func (ica ServiceConnectConfigurationServiceTlsIssuerCertAuthorityAttributes) InternalRef() (terra.Reference, error)
func (ServiceConnectConfigurationServiceTlsIssuerCertAuthorityAttributes) InternalTokens ¶
func (ica ServiceConnectConfigurationServiceTlsIssuerCertAuthorityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceConnectConfigurationServiceTlsIssuerCertAuthorityAttributes) InternalWithRef ¶
type ServiceConnectConfigurationServiceTlsIssuerCertAuthorityState ¶
type ServiceConnectConfigurationServiceTlsIssuerCertAuthorityState struct {
AwsPcaAuthorityArn string `json:"aws_pca_authority_arn"`
}
type ServiceConnectConfigurationServiceTlsState ¶
type ServiceConnectConfigurationServiceTlsState struct { KmsKey string `json:"kms_key"` RoleArn string `json:"role_arn"` IssuerCertAuthority []ServiceConnectConfigurationServiceTlsIssuerCertAuthorityState `json:"issuer_cert_authority"` }
type ServiceConnectConfigurationState ¶
type ServiceConnectConfigurationState struct { Enabled bool `json:"enabled"` Namespace string `json:"namespace"` LogConfiguration []ServiceConnectConfigurationLogConfigurationState `json:"log_configuration"` Service []ServiceConnectConfigurationServiceState `json:"service"` }
type ServiceRegistries ¶
type ServiceRegistries struct { // ContainerName: string, optional ContainerName terra.StringValue `hcl:"container_name,attr"` // ContainerPort: number, optional ContainerPort terra.NumberValue `hcl:"container_port,attr"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // RegistryArn: string, required RegistryArn terra.StringValue `hcl:"registry_arn,attr" validate:"required"` }
type ServiceRegistriesAttributes ¶
type ServiceRegistriesAttributes struct {
// contains filtered or unexported fields
}
func (ServiceRegistriesAttributes) ContainerName ¶
func (sr ServiceRegistriesAttributes) ContainerName() terra.StringValue
func (ServiceRegistriesAttributes) ContainerPort ¶
func (sr ServiceRegistriesAttributes) ContainerPort() terra.NumberValue
func (ServiceRegistriesAttributes) InternalRef ¶
func (sr ServiceRegistriesAttributes) InternalRef() (terra.Reference, error)
func (ServiceRegistriesAttributes) InternalTokens ¶
func (sr ServiceRegistriesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceRegistriesAttributes) InternalWithRef ¶
func (sr ServiceRegistriesAttributes) InternalWithRef(ref terra.Reference) ServiceRegistriesAttributes
func (ServiceRegistriesAttributes) Port ¶
func (sr ServiceRegistriesAttributes) Port() terra.NumberValue
func (ServiceRegistriesAttributes) RegistryArn ¶
func (sr ServiceRegistriesAttributes) RegistryArn() terra.StringValue
type ServiceRegistriesState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue