Documentation ¶
Index ¶
- type AccountSettingDefault
- type AccountSettingDefaultArgs
- type AccountSettingDefaultArray
- func (AccountSettingDefaultArray) ElementType() reflect.Type
- func (i AccountSettingDefaultArray) ToAccountSettingDefaultArrayOutput() AccountSettingDefaultArrayOutput
- func (i AccountSettingDefaultArray) ToAccountSettingDefaultArrayOutputWithContext(ctx context.Context) AccountSettingDefaultArrayOutput
- type AccountSettingDefaultArrayInput
- type AccountSettingDefaultArrayOutput
- func (AccountSettingDefaultArrayOutput) ElementType() reflect.Type
- func (o AccountSettingDefaultArrayOutput) Index(i pulumi.IntInput) AccountSettingDefaultOutput
- func (o AccountSettingDefaultArrayOutput) ToAccountSettingDefaultArrayOutput() AccountSettingDefaultArrayOutput
- func (o AccountSettingDefaultArrayOutput) ToAccountSettingDefaultArrayOutputWithContext(ctx context.Context) AccountSettingDefaultArrayOutput
- type AccountSettingDefaultInput
- type AccountSettingDefaultMap
- type AccountSettingDefaultMapInput
- type AccountSettingDefaultMapOutput
- func (AccountSettingDefaultMapOutput) ElementType() reflect.Type
- func (o AccountSettingDefaultMapOutput) MapIndex(k pulumi.StringInput) AccountSettingDefaultOutput
- func (o AccountSettingDefaultMapOutput) ToAccountSettingDefaultMapOutput() AccountSettingDefaultMapOutput
- func (o AccountSettingDefaultMapOutput) ToAccountSettingDefaultMapOutputWithContext(ctx context.Context) AccountSettingDefaultMapOutput
- type AccountSettingDefaultOutput
- func (AccountSettingDefaultOutput) ElementType() reflect.Type
- func (o AccountSettingDefaultOutput) Name() pulumi.StringOutput
- func (o AccountSettingDefaultOutput) PrincipalArn() pulumi.StringOutput
- func (o AccountSettingDefaultOutput) ToAccountSettingDefaultOutput() AccountSettingDefaultOutput
- func (o AccountSettingDefaultOutput) ToAccountSettingDefaultOutputWithContext(ctx context.Context) AccountSettingDefaultOutput
- func (o AccountSettingDefaultOutput) Value() pulumi.StringOutput
- type AccountSettingDefaultState
- type CapacityProvider
- type CapacityProviderArgs
- type CapacityProviderArray
- type CapacityProviderArrayInput
- type CapacityProviderArrayOutput
- func (CapacityProviderArrayOutput) ElementType() reflect.Type
- func (o CapacityProviderArrayOutput) Index(i pulumi.IntInput) CapacityProviderOutput
- func (o CapacityProviderArrayOutput) ToCapacityProviderArrayOutput() CapacityProviderArrayOutput
- func (o CapacityProviderArrayOutput) ToCapacityProviderArrayOutputWithContext(ctx context.Context) CapacityProviderArrayOutput
- type CapacityProviderAutoScalingGroupProvider
- type CapacityProviderAutoScalingGroupProviderArgs
- func (CapacityProviderAutoScalingGroupProviderArgs) ElementType() reflect.Type
- func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderOutput() CapacityProviderAutoScalingGroupProviderOutput
- func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderOutput
- func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput
- func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput
- type CapacityProviderAutoScalingGroupProviderInput
- type CapacityProviderAutoScalingGroupProviderManagedScaling
- type CapacityProviderAutoScalingGroupProviderManagedScalingArgs
- func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ElementType() reflect.Type
- func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput() CapacityProviderAutoScalingGroupProviderManagedScalingOutput
- func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingOutput
- func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- type CapacityProviderAutoScalingGroupProviderManagedScalingInput
- type CapacityProviderAutoScalingGroupProviderManagedScalingOutput
- func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ElementType() reflect.Type
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) InstanceWarmupPeriod() pulumi.IntPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) MaximumScalingStepSize() pulumi.IntPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) MinimumScalingStepSize() pulumi.IntPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) Status() pulumi.StringPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) TargetCapacity() pulumi.IntPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput() CapacityProviderAutoScalingGroupProviderManagedScalingOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- type CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput
- type CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) Elem() CapacityProviderAutoScalingGroupProviderManagedScalingOutput
- func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ElementType() reflect.Type
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) InstanceWarmupPeriod() pulumi.IntPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) MaximumScalingStepSize() pulumi.IntPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) MinimumScalingStepSize() pulumi.IntPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) Status() pulumi.StringPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) TargetCapacity() pulumi.IntPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- type CapacityProviderAutoScalingGroupProviderOutput
- func (o CapacityProviderAutoScalingGroupProviderOutput) AutoScalingGroupArn() pulumi.StringOutput
- func (CapacityProviderAutoScalingGroupProviderOutput) ElementType() reflect.Type
- func (o CapacityProviderAutoScalingGroupProviderOutput) ManagedScaling() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderOutput) ManagedTerminationProtection() pulumi.StringPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderOutput() CapacityProviderAutoScalingGroupProviderOutput
- func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderOutput
- func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput
- type CapacityProviderAutoScalingGroupProviderPtrInput
- type CapacityProviderAutoScalingGroupProviderPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderPtrOutput) AutoScalingGroupArn() pulumi.StringPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderPtrOutput) Elem() CapacityProviderAutoScalingGroupProviderOutput
- func (CapacityProviderAutoScalingGroupProviderPtrOutput) ElementType() reflect.Type
- func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ManagedScaling() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ManagedTerminationProtection() pulumi.StringPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput
- func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput
- type CapacityProviderInput
- type CapacityProviderMap
- type CapacityProviderMapInput
- type CapacityProviderMapOutput
- func (CapacityProviderMapOutput) ElementType() reflect.Type
- func (o CapacityProviderMapOutput) MapIndex(k pulumi.StringInput) CapacityProviderOutput
- func (o CapacityProviderMapOutput) ToCapacityProviderMapOutput() CapacityProviderMapOutput
- func (o CapacityProviderMapOutput) ToCapacityProviderMapOutputWithContext(ctx context.Context) CapacityProviderMapOutput
- type CapacityProviderOutput
- func (o CapacityProviderOutput) Arn() pulumi.StringOutput
- func (o CapacityProviderOutput) AutoScalingGroupProvider() CapacityProviderAutoScalingGroupProviderOutput
- func (CapacityProviderOutput) ElementType() reflect.Type
- func (o CapacityProviderOutput) Name() pulumi.StringOutput
- func (o CapacityProviderOutput) Tags() pulumi.StringMapOutput
- func (o CapacityProviderOutput) TagsAll() pulumi.StringMapOutput
- func (o CapacityProviderOutput) ToCapacityProviderOutput() CapacityProviderOutput
- func (o CapacityProviderOutput) ToCapacityProviderOutputWithContext(ctx context.Context) CapacityProviderOutput
- type CapacityProviderState
- type Cluster
- type ClusterArgs
- type ClusterArray
- type ClusterArrayInput
- type ClusterArrayOutput
- type ClusterCapacityProviders
- type ClusterCapacityProvidersArgs
- type ClusterCapacityProvidersArray
- func (ClusterCapacityProvidersArray) ElementType() reflect.Type
- func (i ClusterCapacityProvidersArray) ToClusterCapacityProvidersArrayOutput() ClusterCapacityProvidersArrayOutput
- func (i ClusterCapacityProvidersArray) ToClusterCapacityProvidersArrayOutputWithContext(ctx context.Context) ClusterCapacityProvidersArrayOutput
- type ClusterCapacityProvidersArrayInput
- type ClusterCapacityProvidersArrayOutput
- func (ClusterCapacityProvidersArrayOutput) ElementType() reflect.Type
- func (o ClusterCapacityProvidersArrayOutput) Index(i pulumi.IntInput) ClusterCapacityProvidersOutput
- func (o ClusterCapacityProvidersArrayOutput) ToClusterCapacityProvidersArrayOutput() ClusterCapacityProvidersArrayOutput
- func (o ClusterCapacityProvidersArrayOutput) ToClusterCapacityProvidersArrayOutputWithContext(ctx context.Context) ClusterCapacityProvidersArrayOutput
- type ClusterCapacityProvidersDefaultCapacityProviderStrategy
- type ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs
- func (ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs) ElementType() reflect.Type
- func (i ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs) ToClusterCapacityProvidersDefaultCapacityProviderStrategyOutput() ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput
- func (i ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs) ToClusterCapacityProvidersDefaultCapacityProviderStrategyOutputWithContext(ctx context.Context) ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput
- type ClusterCapacityProvidersDefaultCapacityProviderStrategyArray
- func (ClusterCapacityProvidersDefaultCapacityProviderStrategyArray) ElementType() reflect.Type
- func (i ClusterCapacityProvidersDefaultCapacityProviderStrategyArray) ToClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput() ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput
- func (i ClusterCapacityProvidersDefaultCapacityProviderStrategyArray) ToClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput
- type ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayInput
- type ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput
- func (ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput) ElementType() reflect.Type
- func (o ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput) Index(i pulumi.IntInput) ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput
- func (o ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput) ToClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput() ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput
- func (o ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput) ToClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput
- type ClusterCapacityProvidersDefaultCapacityProviderStrategyInput
- type ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput
- func (o ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) Base() pulumi.IntPtrOutput
- func (o ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) CapacityProvider() pulumi.StringOutput
- func (ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) ElementType() reflect.Type
- func (o ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) ToClusterCapacityProvidersDefaultCapacityProviderStrategyOutput() ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput
- func (o ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) ToClusterCapacityProvidersDefaultCapacityProviderStrategyOutputWithContext(ctx context.Context) ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput
- func (o ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) Weight() pulumi.IntPtrOutput
- type ClusterCapacityProvidersInput
- type ClusterCapacityProvidersMap
- func (ClusterCapacityProvidersMap) ElementType() reflect.Type
- func (i ClusterCapacityProvidersMap) ToClusterCapacityProvidersMapOutput() ClusterCapacityProvidersMapOutput
- func (i ClusterCapacityProvidersMap) ToClusterCapacityProvidersMapOutputWithContext(ctx context.Context) ClusterCapacityProvidersMapOutput
- type ClusterCapacityProvidersMapInput
- type ClusterCapacityProvidersMapOutput
- func (ClusterCapacityProvidersMapOutput) ElementType() reflect.Type
- func (o ClusterCapacityProvidersMapOutput) MapIndex(k pulumi.StringInput) ClusterCapacityProvidersOutput
- func (o ClusterCapacityProvidersMapOutput) ToClusterCapacityProvidersMapOutput() ClusterCapacityProvidersMapOutput
- func (o ClusterCapacityProvidersMapOutput) ToClusterCapacityProvidersMapOutputWithContext(ctx context.Context) ClusterCapacityProvidersMapOutput
- type ClusterCapacityProvidersOutput
- func (o ClusterCapacityProvidersOutput) CapacityProviders() pulumi.StringArrayOutput
- func (o ClusterCapacityProvidersOutput) ClusterName() pulumi.StringOutput
- func (o ClusterCapacityProvidersOutput) DefaultCapacityProviderStrategies() ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput
- func (ClusterCapacityProvidersOutput) ElementType() reflect.Type
- func (o ClusterCapacityProvidersOutput) ToClusterCapacityProvidersOutput() ClusterCapacityProvidersOutput
- func (o ClusterCapacityProvidersOutput) ToClusterCapacityProvidersOutputWithContext(ctx context.Context) ClusterCapacityProvidersOutput
- type ClusterCapacityProvidersState
- type ClusterConfiguration
- type ClusterConfigurationArgs
- func (ClusterConfigurationArgs) ElementType() reflect.Type
- func (i ClusterConfigurationArgs) ToClusterConfigurationOutput() ClusterConfigurationOutput
- func (i ClusterConfigurationArgs) ToClusterConfigurationOutputWithContext(ctx context.Context) ClusterConfigurationOutput
- func (i ClusterConfigurationArgs) ToClusterConfigurationPtrOutput() ClusterConfigurationPtrOutput
- func (i ClusterConfigurationArgs) ToClusterConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationPtrOutput
- type ClusterConfigurationExecuteCommandConfiguration
- type ClusterConfigurationExecuteCommandConfigurationArgs
- func (ClusterConfigurationExecuteCommandConfigurationArgs) ElementType() reflect.Type
- func (i ClusterConfigurationExecuteCommandConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationOutput() ClusterConfigurationExecuteCommandConfigurationOutput
- func (i ClusterConfigurationExecuteCommandConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationOutput
- func (i ClusterConfigurationExecuteCommandConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationPtrOutput() ClusterConfigurationExecuteCommandConfigurationPtrOutput
- func (i ClusterConfigurationExecuteCommandConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationPtrOutput
- type ClusterConfigurationExecuteCommandConfigurationInput
- type ClusterConfigurationExecuteCommandConfigurationLogConfiguration
- type ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs
- func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs) ElementType() reflect.Type
- func (i ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput() ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput
- func (i ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput
- func (i ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput() ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
- func (i ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
- type ClusterConfigurationExecuteCommandConfigurationLogConfigurationInput
- type ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) CloudWatchEncryptionEnabled() pulumi.BoolPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) CloudWatchLogGroupName() pulumi.StringPtrOutput
- func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) ElementType() reflect.Type
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) S3BucketEncryptionEnabled() pulumi.BoolPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) S3BucketName() pulumi.StringPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) S3KeyPrefix() pulumi.StringPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput() ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput() ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
- type ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrInput
- type ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) CloudWatchEncryptionEnabled() pulumi.BoolPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) CloudWatchLogGroupName() pulumi.StringPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) Elem() ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput
- func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) ElementType() reflect.Type
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) S3BucketEncryptionEnabled() pulumi.BoolPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) S3BucketName() pulumi.StringPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) S3KeyPrefix() pulumi.StringPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput() ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
- type ClusterConfigurationExecuteCommandConfigurationOutput
- func (ClusterConfigurationExecuteCommandConfigurationOutput) ElementType() reflect.Type
- func (o ClusterConfigurationExecuteCommandConfigurationOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationOutput) LogConfiguration() ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationOutput) Logging() pulumi.StringPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationOutput() ClusterConfigurationExecuteCommandConfigurationOutput
- func (o ClusterConfigurationExecuteCommandConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationOutput
- func (o ClusterConfigurationExecuteCommandConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationPtrOutput() ClusterConfigurationExecuteCommandConfigurationPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationPtrOutput
- type ClusterConfigurationExecuteCommandConfigurationPtrInput
- type ClusterConfigurationExecuteCommandConfigurationPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationPtrOutput) Elem() ClusterConfigurationExecuteCommandConfigurationOutput
- func (ClusterConfigurationExecuteCommandConfigurationPtrOutput) ElementType() reflect.Type
- func (o ClusterConfigurationExecuteCommandConfigurationPtrOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationPtrOutput) LogConfiguration() ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationPtrOutput) Logging() pulumi.StringPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationPtrOutput) ToClusterConfigurationExecuteCommandConfigurationPtrOutput() ClusterConfigurationExecuteCommandConfigurationPtrOutput
- func (o ClusterConfigurationExecuteCommandConfigurationPtrOutput) ToClusterConfigurationExecuteCommandConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationPtrOutput
- type ClusterConfigurationInput
- type ClusterConfigurationOutput
- func (ClusterConfigurationOutput) ElementType() reflect.Type
- func (o ClusterConfigurationOutput) ExecuteCommandConfiguration() ClusterConfigurationExecuteCommandConfigurationPtrOutput
- func (o ClusterConfigurationOutput) ToClusterConfigurationOutput() ClusterConfigurationOutput
- func (o ClusterConfigurationOutput) ToClusterConfigurationOutputWithContext(ctx context.Context) ClusterConfigurationOutput
- func (o ClusterConfigurationOutput) ToClusterConfigurationPtrOutput() ClusterConfigurationPtrOutput
- func (o ClusterConfigurationOutput) ToClusterConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationPtrOutput
- type ClusterConfigurationPtrInput
- type ClusterConfigurationPtrOutput
- func (o ClusterConfigurationPtrOutput) Elem() ClusterConfigurationOutput
- func (ClusterConfigurationPtrOutput) ElementType() reflect.Type
- func (o ClusterConfigurationPtrOutput) ExecuteCommandConfiguration() ClusterConfigurationExecuteCommandConfigurationPtrOutput
- func (o ClusterConfigurationPtrOutput) ToClusterConfigurationPtrOutput() ClusterConfigurationPtrOutput
- func (o ClusterConfigurationPtrOutput) ToClusterConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationPtrOutput
- type ClusterDefaultCapacityProviderStrategy
- type ClusterDefaultCapacityProviderStrategyArgs
- func (ClusterDefaultCapacityProviderStrategyArgs) ElementType() reflect.Type
- func (i ClusterDefaultCapacityProviderStrategyArgs) ToClusterDefaultCapacityProviderStrategyOutput() ClusterDefaultCapacityProviderStrategyOutput
- func (i ClusterDefaultCapacityProviderStrategyArgs) ToClusterDefaultCapacityProviderStrategyOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyOutput
- type ClusterDefaultCapacityProviderStrategyArray
- func (ClusterDefaultCapacityProviderStrategyArray) ElementType() reflect.Type
- func (i ClusterDefaultCapacityProviderStrategyArray) ToClusterDefaultCapacityProviderStrategyArrayOutput() ClusterDefaultCapacityProviderStrategyArrayOutput
- func (i ClusterDefaultCapacityProviderStrategyArray) ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyArrayOutput
- type ClusterDefaultCapacityProviderStrategyArrayInput
- type ClusterDefaultCapacityProviderStrategyArrayOutput
- func (ClusterDefaultCapacityProviderStrategyArrayOutput) ElementType() reflect.Type
- func (o ClusterDefaultCapacityProviderStrategyArrayOutput) Index(i pulumi.IntInput) ClusterDefaultCapacityProviderStrategyOutput
- func (o ClusterDefaultCapacityProviderStrategyArrayOutput) ToClusterDefaultCapacityProviderStrategyArrayOutput() ClusterDefaultCapacityProviderStrategyArrayOutput
- func (o ClusterDefaultCapacityProviderStrategyArrayOutput) ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyArrayOutput
- type ClusterDefaultCapacityProviderStrategyInput
- type ClusterDefaultCapacityProviderStrategyOutput
- func (o ClusterDefaultCapacityProviderStrategyOutput) Base() pulumi.IntPtrOutput
- func (o ClusterDefaultCapacityProviderStrategyOutput) CapacityProvider() pulumi.StringOutput
- func (ClusterDefaultCapacityProviderStrategyOutput) ElementType() reflect.Type
- func (o ClusterDefaultCapacityProviderStrategyOutput) ToClusterDefaultCapacityProviderStrategyOutput() ClusterDefaultCapacityProviderStrategyOutput
- func (o ClusterDefaultCapacityProviderStrategyOutput) ToClusterDefaultCapacityProviderStrategyOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyOutput
- func (o ClusterDefaultCapacityProviderStrategyOutput) Weight() pulumi.IntPtrOutput
- type ClusterInput
- type ClusterMap
- type ClusterMapInput
- type ClusterMapOutput
- type ClusterOutput
- func (o ClusterOutput) Arn() pulumi.StringOutput
- func (o ClusterOutput) CapacityProviders() pulumi.StringArrayOutputdeprecated
- func (o ClusterOutput) Configuration() ClusterConfigurationPtrOutput
- func (o ClusterOutput) DefaultCapacityProviderStrategies() ClusterDefaultCapacityProviderStrategyArrayOutputdeprecated
- func (ClusterOutput) ElementType() reflect.Type
- func (o ClusterOutput) Name() pulumi.StringOutput
- func (o ClusterOutput) Settings() ClusterSettingArrayOutput
- func (o ClusterOutput) Tags() pulumi.StringMapOutput
- func (o ClusterOutput) TagsAll() pulumi.StringMapOutput
- func (o ClusterOutput) ToClusterOutput() ClusterOutput
- func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- type ClusterSetting
- type ClusterSettingArgs
- type ClusterSettingArray
- type ClusterSettingArrayInput
- type ClusterSettingArrayOutput
- func (ClusterSettingArrayOutput) ElementType() reflect.Type
- func (o ClusterSettingArrayOutput) Index(i pulumi.IntInput) ClusterSettingOutput
- func (o ClusterSettingArrayOutput) ToClusterSettingArrayOutput() ClusterSettingArrayOutput
- func (o ClusterSettingArrayOutput) ToClusterSettingArrayOutputWithContext(ctx context.Context) ClusterSettingArrayOutput
- type ClusterSettingInput
- type ClusterSettingOutput
- func (ClusterSettingOutput) ElementType() reflect.Type
- func (o ClusterSettingOutput) Name() pulumi.StringOutput
- func (o ClusterSettingOutput) ToClusterSettingOutput() ClusterSettingOutput
- func (o ClusterSettingOutput) ToClusterSettingOutputWithContext(ctx context.Context) ClusterSettingOutput
- func (o ClusterSettingOutput) Value() pulumi.StringOutput
- type ClusterState
- type GetClusterSetting
- type GetClusterSettingArgs
- type GetClusterSettingArray
- type GetClusterSettingArrayInput
- type GetClusterSettingArrayOutput
- func (GetClusterSettingArrayOutput) ElementType() reflect.Type
- func (o GetClusterSettingArrayOutput) Index(i pulumi.IntInput) GetClusterSettingOutput
- func (o GetClusterSettingArrayOutput) ToGetClusterSettingArrayOutput() GetClusterSettingArrayOutput
- func (o GetClusterSettingArrayOutput) ToGetClusterSettingArrayOutputWithContext(ctx context.Context) GetClusterSettingArrayOutput
- type GetClusterSettingInput
- type GetClusterSettingOutput
- func (GetClusterSettingOutput) ElementType() reflect.Type
- func (o GetClusterSettingOutput) Name() pulumi.StringOutput
- func (o GetClusterSettingOutput) ToGetClusterSettingOutput() GetClusterSettingOutput
- func (o GetClusterSettingOutput) ToGetClusterSettingOutputWithContext(ctx context.Context) GetClusterSettingOutput
- func (o GetClusterSettingOutput) Value() pulumi.StringOutput
- type GetContainerDefinitionArgs
- type GetContainerDefinitionOutputArgs
- type GetContainerDefinitionResult
- type GetContainerDefinitionResultOutput
- func (o GetContainerDefinitionResultOutput) ContainerName() pulumi.StringOutput
- func (o GetContainerDefinitionResultOutput) Cpu() pulumi.IntOutput
- func (o GetContainerDefinitionResultOutput) DisableNetworking() pulumi.BoolOutput
- func (o GetContainerDefinitionResultOutput) DockerLabels() pulumi.StringMapOutput
- func (GetContainerDefinitionResultOutput) ElementType() reflect.Type
- func (o GetContainerDefinitionResultOutput) Environment() pulumi.StringMapOutput
- func (o GetContainerDefinitionResultOutput) Id() pulumi.StringOutput
- func (o GetContainerDefinitionResultOutput) Image() pulumi.StringOutput
- func (o GetContainerDefinitionResultOutput) ImageDigest() pulumi.StringOutput
- func (o GetContainerDefinitionResultOutput) Memory() pulumi.IntOutput
- func (o GetContainerDefinitionResultOutput) MemoryReservation() pulumi.IntOutput
- func (o GetContainerDefinitionResultOutput) TaskDefinition() pulumi.StringOutput
- func (o GetContainerDefinitionResultOutput) ToGetContainerDefinitionResultOutput() GetContainerDefinitionResultOutput
- func (o GetContainerDefinitionResultOutput) ToGetContainerDefinitionResultOutputWithContext(ctx context.Context) GetContainerDefinitionResultOutput
- type LookupClusterArgs
- type LookupClusterOutputArgs
- type LookupClusterResult
- type LookupClusterResultOutput
- func (o LookupClusterResultOutput) Arn() pulumi.StringOutput
- func (o LookupClusterResultOutput) ClusterName() pulumi.StringOutput
- func (LookupClusterResultOutput) ElementType() reflect.Type
- func (o LookupClusterResultOutput) Id() pulumi.StringOutput
- func (o LookupClusterResultOutput) PendingTasksCount() pulumi.IntOutput
- func (o LookupClusterResultOutput) RegisteredContainerInstancesCount() pulumi.IntOutput
- func (o LookupClusterResultOutput) RunningTasksCount() pulumi.IntOutput
- func (o LookupClusterResultOutput) Settings() GetClusterSettingArrayOutput
- func (o LookupClusterResultOutput) Status() pulumi.StringOutput
- func (o LookupClusterResultOutput) ToLookupClusterResultOutput() LookupClusterResultOutput
- func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx context.Context) LookupClusterResultOutput
- type LookupServiceArgs
- type LookupServiceOutputArgs
- type LookupServiceResult
- type LookupServiceResultOutput
- func (o LookupServiceResultOutput) Arn() pulumi.StringOutput
- func (o LookupServiceResultOutput) ClusterArn() pulumi.StringOutput
- func (o LookupServiceResultOutput) DesiredCount() pulumi.IntOutput
- func (LookupServiceResultOutput) ElementType() reflect.Type
- func (o LookupServiceResultOutput) Id() pulumi.StringOutput
- func (o LookupServiceResultOutput) LaunchType() pulumi.StringOutput
- func (o LookupServiceResultOutput) SchedulingStrategy() pulumi.StringOutput
- func (o LookupServiceResultOutput) ServiceName() pulumi.StringOutput
- func (o LookupServiceResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupServiceResultOutput) TaskDefinition() pulumi.StringOutput
- func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput
- func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput
- type LookupTaskDefinitionArgs
- type LookupTaskDefinitionOutputArgs
- type LookupTaskDefinitionResult
- type LookupTaskDefinitionResultOutput
- func (o LookupTaskDefinitionResultOutput) Arn() pulumi.StringOutput
- func (LookupTaskDefinitionResultOutput) ElementType() reflect.Type
- func (o LookupTaskDefinitionResultOutput) Family() pulumi.StringOutput
- func (o LookupTaskDefinitionResultOutput) Id() pulumi.StringOutput
- func (o LookupTaskDefinitionResultOutput) NetworkMode() pulumi.StringOutput
- func (o LookupTaskDefinitionResultOutput) Revision() pulumi.IntOutput
- func (o LookupTaskDefinitionResultOutput) Status() pulumi.StringOutput
- func (o LookupTaskDefinitionResultOutput) TaskDefinition() pulumi.StringOutput
- func (o LookupTaskDefinitionResultOutput) TaskRoleArn() pulumi.StringOutput
- func (o LookupTaskDefinitionResultOutput) ToLookupTaskDefinitionResultOutput() LookupTaskDefinitionResultOutput
- func (o LookupTaskDefinitionResultOutput) ToLookupTaskDefinitionResultOutputWithContext(ctx context.Context) LookupTaskDefinitionResultOutput
- type Service
- type ServiceArgs
- type ServiceArray
- type ServiceArrayInput
- type ServiceArrayOutput
- type ServiceCapacityProviderStrategy
- type ServiceCapacityProviderStrategyArgs
- func (ServiceCapacityProviderStrategyArgs) ElementType() reflect.Type
- func (i ServiceCapacityProviderStrategyArgs) ToServiceCapacityProviderStrategyOutput() ServiceCapacityProviderStrategyOutput
- func (i ServiceCapacityProviderStrategyArgs) ToServiceCapacityProviderStrategyOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyOutput
- type ServiceCapacityProviderStrategyArray
- func (ServiceCapacityProviderStrategyArray) ElementType() reflect.Type
- func (i ServiceCapacityProviderStrategyArray) ToServiceCapacityProviderStrategyArrayOutput() ServiceCapacityProviderStrategyArrayOutput
- func (i ServiceCapacityProviderStrategyArray) ToServiceCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyArrayOutput
- type ServiceCapacityProviderStrategyArrayInput
- type ServiceCapacityProviderStrategyArrayOutput
- func (ServiceCapacityProviderStrategyArrayOutput) ElementType() reflect.Type
- func (o ServiceCapacityProviderStrategyArrayOutput) Index(i pulumi.IntInput) ServiceCapacityProviderStrategyOutput
- func (o ServiceCapacityProviderStrategyArrayOutput) ToServiceCapacityProviderStrategyArrayOutput() ServiceCapacityProviderStrategyArrayOutput
- func (o ServiceCapacityProviderStrategyArrayOutput) ToServiceCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyArrayOutput
- type ServiceCapacityProviderStrategyInput
- type ServiceCapacityProviderStrategyOutput
- func (o ServiceCapacityProviderStrategyOutput) Base() pulumi.IntPtrOutput
- func (o ServiceCapacityProviderStrategyOutput) CapacityProvider() pulumi.StringOutput
- func (ServiceCapacityProviderStrategyOutput) ElementType() reflect.Type
- func (o ServiceCapacityProviderStrategyOutput) ToServiceCapacityProviderStrategyOutput() ServiceCapacityProviderStrategyOutput
- func (o ServiceCapacityProviderStrategyOutput) ToServiceCapacityProviderStrategyOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyOutput
- func (o ServiceCapacityProviderStrategyOutput) Weight() pulumi.IntPtrOutput
- type ServiceDeploymentCircuitBreaker
- type ServiceDeploymentCircuitBreakerArgs
- func (ServiceDeploymentCircuitBreakerArgs) ElementType() reflect.Type
- func (i ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerOutput() ServiceDeploymentCircuitBreakerOutput
- func (i ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerOutputWithContext(ctx context.Context) ServiceDeploymentCircuitBreakerOutput
- func (i ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerPtrOutput() ServiceDeploymentCircuitBreakerPtrOutput
- func (i ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerPtrOutputWithContext(ctx context.Context) ServiceDeploymentCircuitBreakerPtrOutput
- type ServiceDeploymentCircuitBreakerInput
- type ServiceDeploymentCircuitBreakerOutput
- func (ServiceDeploymentCircuitBreakerOutput) ElementType() reflect.Type
- func (o ServiceDeploymentCircuitBreakerOutput) Enable() pulumi.BoolOutput
- func (o ServiceDeploymentCircuitBreakerOutput) Rollback() pulumi.BoolOutput
- func (o ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerOutput() ServiceDeploymentCircuitBreakerOutput
- func (o ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerOutputWithContext(ctx context.Context) ServiceDeploymentCircuitBreakerOutput
- func (o ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerPtrOutput() ServiceDeploymentCircuitBreakerPtrOutput
- func (o ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerPtrOutputWithContext(ctx context.Context) ServiceDeploymentCircuitBreakerPtrOutput
- type ServiceDeploymentCircuitBreakerPtrInput
- type ServiceDeploymentCircuitBreakerPtrOutput
- func (o ServiceDeploymentCircuitBreakerPtrOutput) Elem() ServiceDeploymentCircuitBreakerOutput
- func (ServiceDeploymentCircuitBreakerPtrOutput) ElementType() reflect.Type
- func (o ServiceDeploymentCircuitBreakerPtrOutput) Enable() pulumi.BoolPtrOutput
- func (o ServiceDeploymentCircuitBreakerPtrOutput) Rollback() pulumi.BoolPtrOutput
- func (o ServiceDeploymentCircuitBreakerPtrOutput) ToServiceDeploymentCircuitBreakerPtrOutput() ServiceDeploymentCircuitBreakerPtrOutput
- func (o ServiceDeploymentCircuitBreakerPtrOutput) ToServiceDeploymentCircuitBreakerPtrOutputWithContext(ctx context.Context) ServiceDeploymentCircuitBreakerPtrOutput
- type ServiceDeploymentController
- type ServiceDeploymentControllerArgs
- func (ServiceDeploymentControllerArgs) ElementType() reflect.Type
- func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerOutput() ServiceDeploymentControllerOutput
- func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerOutputWithContext(ctx context.Context) ServiceDeploymentControllerOutput
- func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput
- func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerPtrOutputWithContext(ctx context.Context) ServiceDeploymentControllerPtrOutput
- type ServiceDeploymentControllerInput
- type ServiceDeploymentControllerOutput
- func (ServiceDeploymentControllerOutput) ElementType() reflect.Type
- func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerOutput() ServiceDeploymentControllerOutput
- func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerOutputWithContext(ctx context.Context) ServiceDeploymentControllerOutput
- func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput
- func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerPtrOutputWithContext(ctx context.Context) ServiceDeploymentControllerPtrOutput
- func (o ServiceDeploymentControllerOutput) Type() pulumi.StringPtrOutput
- type ServiceDeploymentControllerPtrInput
- type ServiceDeploymentControllerPtrOutput
- func (o ServiceDeploymentControllerPtrOutput) Elem() ServiceDeploymentControllerOutput
- func (ServiceDeploymentControllerPtrOutput) ElementType() reflect.Type
- func (o ServiceDeploymentControllerPtrOutput) ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput
- func (o ServiceDeploymentControllerPtrOutput) ToServiceDeploymentControllerPtrOutputWithContext(ctx context.Context) ServiceDeploymentControllerPtrOutput
- func (o ServiceDeploymentControllerPtrOutput) Type() pulumi.StringPtrOutput
- type ServiceInput
- type ServiceLoadBalancer
- type ServiceLoadBalancerArgs
- type ServiceLoadBalancerArray
- type ServiceLoadBalancerArrayInput
- type ServiceLoadBalancerArrayOutput
- func (ServiceLoadBalancerArrayOutput) ElementType() reflect.Type
- func (o ServiceLoadBalancerArrayOutput) Index(i pulumi.IntInput) ServiceLoadBalancerOutput
- func (o ServiceLoadBalancerArrayOutput) ToServiceLoadBalancerArrayOutput() ServiceLoadBalancerArrayOutput
- func (o ServiceLoadBalancerArrayOutput) ToServiceLoadBalancerArrayOutputWithContext(ctx context.Context) ServiceLoadBalancerArrayOutput
- type ServiceLoadBalancerInput
- type ServiceLoadBalancerOutput
- func (o ServiceLoadBalancerOutput) ContainerName() pulumi.StringOutput
- func (o ServiceLoadBalancerOutput) ContainerPort() pulumi.IntOutput
- func (o ServiceLoadBalancerOutput) ElbName() pulumi.StringPtrOutput
- func (ServiceLoadBalancerOutput) ElementType() reflect.Type
- func (o ServiceLoadBalancerOutput) TargetGroupArn() pulumi.StringPtrOutput
- func (o ServiceLoadBalancerOutput) ToServiceLoadBalancerOutput() ServiceLoadBalancerOutput
- func (o ServiceLoadBalancerOutput) ToServiceLoadBalancerOutputWithContext(ctx context.Context) ServiceLoadBalancerOutput
- type ServiceMap
- type ServiceMapInput
- type ServiceMapOutput
- type ServiceNetworkConfiguration
- type ServiceNetworkConfigurationArgs
- func (ServiceNetworkConfigurationArgs) ElementType() reflect.Type
- func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationOutput() ServiceNetworkConfigurationOutput
- func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationOutputWithContext(ctx context.Context) ServiceNetworkConfigurationOutput
- func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput
- func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationPtrOutputWithContext(ctx context.Context) ServiceNetworkConfigurationPtrOutput
- type ServiceNetworkConfigurationInput
- type ServiceNetworkConfigurationOutput
- func (o ServiceNetworkConfigurationOutput) AssignPublicIp() pulumi.BoolPtrOutput
- func (ServiceNetworkConfigurationOutput) ElementType() reflect.Type
- func (o ServiceNetworkConfigurationOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o ServiceNetworkConfigurationOutput) Subnets() pulumi.StringArrayOutput
- func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationOutput() ServiceNetworkConfigurationOutput
- func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationOutputWithContext(ctx context.Context) ServiceNetworkConfigurationOutput
- func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput
- func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationPtrOutputWithContext(ctx context.Context) ServiceNetworkConfigurationPtrOutput
- type ServiceNetworkConfigurationPtrInput
- type ServiceNetworkConfigurationPtrOutput
- func (o ServiceNetworkConfigurationPtrOutput) AssignPublicIp() pulumi.BoolPtrOutput
- func (o ServiceNetworkConfigurationPtrOutput) Elem() ServiceNetworkConfigurationOutput
- func (ServiceNetworkConfigurationPtrOutput) ElementType() reflect.Type
- func (o ServiceNetworkConfigurationPtrOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o ServiceNetworkConfigurationPtrOutput) Subnets() pulumi.StringArrayOutput
- func (o ServiceNetworkConfigurationPtrOutput) ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput
- func (o ServiceNetworkConfigurationPtrOutput) ToServiceNetworkConfigurationPtrOutputWithContext(ctx context.Context) ServiceNetworkConfigurationPtrOutput
- type ServiceOrderedPlacementStrategy
- type ServiceOrderedPlacementStrategyArgs
- func (ServiceOrderedPlacementStrategyArgs) ElementType() reflect.Type
- func (i ServiceOrderedPlacementStrategyArgs) ToServiceOrderedPlacementStrategyOutput() ServiceOrderedPlacementStrategyOutput
- func (i ServiceOrderedPlacementStrategyArgs) ToServiceOrderedPlacementStrategyOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyOutput
- type ServiceOrderedPlacementStrategyArray
- func (ServiceOrderedPlacementStrategyArray) ElementType() reflect.Type
- func (i ServiceOrderedPlacementStrategyArray) ToServiceOrderedPlacementStrategyArrayOutput() ServiceOrderedPlacementStrategyArrayOutput
- func (i ServiceOrderedPlacementStrategyArray) ToServiceOrderedPlacementStrategyArrayOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyArrayOutput
- type ServiceOrderedPlacementStrategyArrayInput
- type ServiceOrderedPlacementStrategyArrayOutput
- func (ServiceOrderedPlacementStrategyArrayOutput) ElementType() reflect.Type
- func (o ServiceOrderedPlacementStrategyArrayOutput) Index(i pulumi.IntInput) ServiceOrderedPlacementStrategyOutput
- func (o ServiceOrderedPlacementStrategyArrayOutput) ToServiceOrderedPlacementStrategyArrayOutput() ServiceOrderedPlacementStrategyArrayOutput
- func (o ServiceOrderedPlacementStrategyArrayOutput) ToServiceOrderedPlacementStrategyArrayOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyArrayOutput
- type ServiceOrderedPlacementStrategyInput
- type ServiceOrderedPlacementStrategyOutput
- func (ServiceOrderedPlacementStrategyOutput) ElementType() reflect.Type
- func (o ServiceOrderedPlacementStrategyOutput) Field() pulumi.StringPtrOutput
- func (o ServiceOrderedPlacementStrategyOutput) ToServiceOrderedPlacementStrategyOutput() ServiceOrderedPlacementStrategyOutput
- func (o ServiceOrderedPlacementStrategyOutput) ToServiceOrderedPlacementStrategyOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyOutput
- func (o ServiceOrderedPlacementStrategyOutput) Type() pulumi.StringOutput
- type ServiceOutput
- func (o ServiceOutput) CapacityProviderStrategies() ServiceCapacityProviderStrategyArrayOutput
- func (o ServiceOutput) Cluster() pulumi.StringOutput
- func (o ServiceOutput) DeploymentCircuitBreaker() ServiceDeploymentCircuitBreakerPtrOutput
- func (o ServiceOutput) DeploymentController() ServiceDeploymentControllerPtrOutput
- func (o ServiceOutput) DeploymentMaximumPercent() pulumi.IntPtrOutput
- func (o ServiceOutput) DeploymentMinimumHealthyPercent() pulumi.IntPtrOutput
- func (o ServiceOutput) DesiredCount() pulumi.IntPtrOutput
- func (ServiceOutput) ElementType() reflect.Type
- func (o ServiceOutput) EnableEcsManagedTags() pulumi.BoolPtrOutput
- func (o ServiceOutput) EnableExecuteCommand() pulumi.BoolPtrOutput
- func (o ServiceOutput) ForceNewDeployment() pulumi.BoolPtrOutput
- func (o ServiceOutput) HealthCheckGracePeriodSeconds() pulumi.IntPtrOutput
- func (o ServiceOutput) IamRole() pulumi.StringOutput
- func (o ServiceOutput) LaunchType() pulumi.StringOutput
- func (o ServiceOutput) LoadBalancers() ServiceLoadBalancerArrayOutput
- func (o ServiceOutput) Name() pulumi.StringOutput
- func (o ServiceOutput) NetworkConfiguration() ServiceNetworkConfigurationPtrOutput
- func (o ServiceOutput) OrderedPlacementStrategies() ServiceOrderedPlacementStrategyArrayOutput
- func (o ServiceOutput) PlacementConstraints() ServicePlacementConstraintArrayOutput
- func (o ServiceOutput) PlatformVersion() pulumi.StringOutput
- func (o ServiceOutput) PropagateTags() pulumi.StringPtrOutput
- func (o ServiceOutput) SchedulingStrategy() pulumi.StringPtrOutput
- func (o ServiceOutput) ServiceRegistries() ServiceServiceRegistriesPtrOutput
- func (o ServiceOutput) Tags() pulumi.StringMapOutput
- func (o ServiceOutput) TagsAll() pulumi.StringMapOutput
- func (o ServiceOutput) TaskDefinition() pulumi.StringPtrOutput
- func (o ServiceOutput) ToServiceOutput() ServiceOutput
- func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
- func (o ServiceOutput) WaitForSteadyState() pulumi.BoolPtrOutput
- type ServicePlacementConstraint
- type ServicePlacementConstraintArgs
- func (ServicePlacementConstraintArgs) ElementType() reflect.Type
- func (i ServicePlacementConstraintArgs) ToServicePlacementConstraintOutput() ServicePlacementConstraintOutput
- func (i ServicePlacementConstraintArgs) ToServicePlacementConstraintOutputWithContext(ctx context.Context) ServicePlacementConstraintOutput
- type ServicePlacementConstraintArray
- func (ServicePlacementConstraintArray) ElementType() reflect.Type
- func (i ServicePlacementConstraintArray) ToServicePlacementConstraintArrayOutput() ServicePlacementConstraintArrayOutput
- func (i ServicePlacementConstraintArray) ToServicePlacementConstraintArrayOutputWithContext(ctx context.Context) ServicePlacementConstraintArrayOutput
- type ServicePlacementConstraintArrayInput
- type ServicePlacementConstraintArrayOutput
- func (ServicePlacementConstraintArrayOutput) ElementType() reflect.Type
- func (o ServicePlacementConstraintArrayOutput) Index(i pulumi.IntInput) ServicePlacementConstraintOutput
- func (o ServicePlacementConstraintArrayOutput) ToServicePlacementConstraintArrayOutput() ServicePlacementConstraintArrayOutput
- func (o ServicePlacementConstraintArrayOutput) ToServicePlacementConstraintArrayOutputWithContext(ctx context.Context) ServicePlacementConstraintArrayOutput
- type ServicePlacementConstraintInput
- type ServicePlacementConstraintOutput
- func (ServicePlacementConstraintOutput) ElementType() reflect.Type
- func (o ServicePlacementConstraintOutput) Expression() pulumi.StringPtrOutput
- func (o ServicePlacementConstraintOutput) ToServicePlacementConstraintOutput() ServicePlacementConstraintOutput
- func (o ServicePlacementConstraintOutput) ToServicePlacementConstraintOutputWithContext(ctx context.Context) ServicePlacementConstraintOutput
- func (o ServicePlacementConstraintOutput) Type() pulumi.StringOutput
- type ServiceServiceRegistries
- type ServiceServiceRegistriesArgs
- func (ServiceServiceRegistriesArgs) ElementType() reflect.Type
- func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesOutput() ServiceServiceRegistriesOutput
- func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesOutputWithContext(ctx context.Context) ServiceServiceRegistriesOutput
- func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput
- func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesPtrOutputWithContext(ctx context.Context) ServiceServiceRegistriesPtrOutput
- type ServiceServiceRegistriesInput
- type ServiceServiceRegistriesOutput
- func (o ServiceServiceRegistriesOutput) ContainerName() pulumi.StringPtrOutput
- func (o ServiceServiceRegistriesOutput) ContainerPort() pulumi.IntPtrOutput
- func (ServiceServiceRegistriesOutput) ElementType() reflect.Type
- func (o ServiceServiceRegistriesOutput) Port() pulumi.IntPtrOutput
- func (o ServiceServiceRegistriesOutput) RegistryArn() pulumi.StringOutput
- func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesOutput() ServiceServiceRegistriesOutput
- func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesOutputWithContext(ctx context.Context) ServiceServiceRegistriesOutput
- func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput
- func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesPtrOutputWithContext(ctx context.Context) ServiceServiceRegistriesPtrOutput
- type ServiceServiceRegistriesPtrInput
- type ServiceServiceRegistriesPtrOutput
- func (o ServiceServiceRegistriesPtrOutput) ContainerName() pulumi.StringPtrOutput
- func (o ServiceServiceRegistriesPtrOutput) ContainerPort() pulumi.IntPtrOutput
- func (o ServiceServiceRegistriesPtrOutput) Elem() ServiceServiceRegistriesOutput
- func (ServiceServiceRegistriesPtrOutput) ElementType() reflect.Type
- func (o ServiceServiceRegistriesPtrOutput) Port() pulumi.IntPtrOutput
- func (o ServiceServiceRegistriesPtrOutput) RegistryArn() pulumi.StringPtrOutput
- func (o ServiceServiceRegistriesPtrOutput) ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput
- func (o ServiceServiceRegistriesPtrOutput) ToServiceServiceRegistriesPtrOutputWithContext(ctx context.Context) ServiceServiceRegistriesPtrOutput
- type ServiceState
- type Tag
- type TagArgs
- type TagArray
- type TagArrayInput
- type TagArrayOutput
- type TagInput
- type TagMap
- type TagMapInput
- type TagMapOutput
- type TagOutput
- func (TagOutput) ElementType() reflect.Type
- func (o TagOutput) Key() pulumi.StringOutput
- func (o TagOutput) ResourceArn() pulumi.StringOutput
- func (o TagOutput) ToTagOutput() TagOutput
- func (o TagOutput) ToTagOutputWithContext(ctx context.Context) TagOutput
- func (o TagOutput) Value() pulumi.StringOutput
- type TagState
- type TaskDefinition
- type TaskDefinitionArgs
- type TaskDefinitionArray
- type TaskDefinitionArrayInput
- type TaskDefinitionArrayOutput
- func (TaskDefinitionArrayOutput) ElementType() reflect.Type
- func (o TaskDefinitionArrayOutput) Index(i pulumi.IntInput) TaskDefinitionOutput
- func (o TaskDefinitionArrayOutput) ToTaskDefinitionArrayOutput() TaskDefinitionArrayOutput
- func (o TaskDefinitionArrayOutput) ToTaskDefinitionArrayOutputWithContext(ctx context.Context) TaskDefinitionArrayOutput
- type TaskDefinitionEphemeralStorage
- type TaskDefinitionEphemeralStorageArgs
- func (TaskDefinitionEphemeralStorageArgs) ElementType() reflect.Type
- func (i TaskDefinitionEphemeralStorageArgs) ToTaskDefinitionEphemeralStorageOutput() TaskDefinitionEphemeralStorageOutput
- func (i TaskDefinitionEphemeralStorageArgs) ToTaskDefinitionEphemeralStorageOutputWithContext(ctx context.Context) TaskDefinitionEphemeralStorageOutput
- func (i TaskDefinitionEphemeralStorageArgs) ToTaskDefinitionEphemeralStoragePtrOutput() TaskDefinitionEphemeralStoragePtrOutput
- func (i TaskDefinitionEphemeralStorageArgs) ToTaskDefinitionEphemeralStoragePtrOutputWithContext(ctx context.Context) TaskDefinitionEphemeralStoragePtrOutput
- type TaskDefinitionEphemeralStorageInput
- type TaskDefinitionEphemeralStorageOutput
- func (TaskDefinitionEphemeralStorageOutput) ElementType() reflect.Type
- func (o TaskDefinitionEphemeralStorageOutput) SizeInGib() pulumi.IntOutput
- func (o TaskDefinitionEphemeralStorageOutput) ToTaskDefinitionEphemeralStorageOutput() TaskDefinitionEphemeralStorageOutput
- func (o TaskDefinitionEphemeralStorageOutput) ToTaskDefinitionEphemeralStorageOutputWithContext(ctx context.Context) TaskDefinitionEphemeralStorageOutput
- func (o TaskDefinitionEphemeralStorageOutput) ToTaskDefinitionEphemeralStoragePtrOutput() TaskDefinitionEphemeralStoragePtrOutput
- func (o TaskDefinitionEphemeralStorageOutput) ToTaskDefinitionEphemeralStoragePtrOutputWithContext(ctx context.Context) TaskDefinitionEphemeralStoragePtrOutput
- type TaskDefinitionEphemeralStoragePtrInput
- type TaskDefinitionEphemeralStoragePtrOutput
- func (o TaskDefinitionEphemeralStoragePtrOutput) Elem() TaskDefinitionEphemeralStorageOutput
- func (TaskDefinitionEphemeralStoragePtrOutput) ElementType() reflect.Type
- func (o TaskDefinitionEphemeralStoragePtrOutput) SizeInGib() pulumi.IntPtrOutput
- func (o TaskDefinitionEphemeralStoragePtrOutput) ToTaskDefinitionEphemeralStoragePtrOutput() TaskDefinitionEphemeralStoragePtrOutput
- func (o TaskDefinitionEphemeralStoragePtrOutput) ToTaskDefinitionEphemeralStoragePtrOutputWithContext(ctx context.Context) TaskDefinitionEphemeralStoragePtrOutput
- type TaskDefinitionInferenceAccelerator
- type TaskDefinitionInferenceAcceleratorArgs
- func (TaskDefinitionInferenceAcceleratorArgs) ElementType() reflect.Type
- func (i TaskDefinitionInferenceAcceleratorArgs) ToTaskDefinitionInferenceAcceleratorOutput() TaskDefinitionInferenceAcceleratorOutput
- func (i TaskDefinitionInferenceAcceleratorArgs) ToTaskDefinitionInferenceAcceleratorOutputWithContext(ctx context.Context) TaskDefinitionInferenceAcceleratorOutput
- type TaskDefinitionInferenceAcceleratorArray
- func (TaskDefinitionInferenceAcceleratorArray) ElementType() reflect.Type
- func (i TaskDefinitionInferenceAcceleratorArray) ToTaskDefinitionInferenceAcceleratorArrayOutput() TaskDefinitionInferenceAcceleratorArrayOutput
- func (i TaskDefinitionInferenceAcceleratorArray) ToTaskDefinitionInferenceAcceleratorArrayOutputWithContext(ctx context.Context) TaskDefinitionInferenceAcceleratorArrayOutput
- type TaskDefinitionInferenceAcceleratorArrayInput
- type TaskDefinitionInferenceAcceleratorArrayOutput
- func (TaskDefinitionInferenceAcceleratorArrayOutput) ElementType() reflect.Type
- func (o TaskDefinitionInferenceAcceleratorArrayOutput) Index(i pulumi.IntInput) TaskDefinitionInferenceAcceleratorOutput
- func (o TaskDefinitionInferenceAcceleratorArrayOutput) ToTaskDefinitionInferenceAcceleratorArrayOutput() TaskDefinitionInferenceAcceleratorArrayOutput
- func (o TaskDefinitionInferenceAcceleratorArrayOutput) ToTaskDefinitionInferenceAcceleratorArrayOutputWithContext(ctx context.Context) TaskDefinitionInferenceAcceleratorArrayOutput
- type TaskDefinitionInferenceAcceleratorInput
- type TaskDefinitionInferenceAcceleratorOutput
- func (o TaskDefinitionInferenceAcceleratorOutput) DeviceName() pulumi.StringOutput
- func (o TaskDefinitionInferenceAcceleratorOutput) DeviceType() pulumi.StringOutput
- func (TaskDefinitionInferenceAcceleratorOutput) ElementType() reflect.Type
- func (o TaskDefinitionInferenceAcceleratorOutput) ToTaskDefinitionInferenceAcceleratorOutput() TaskDefinitionInferenceAcceleratorOutput
- func (o TaskDefinitionInferenceAcceleratorOutput) ToTaskDefinitionInferenceAcceleratorOutputWithContext(ctx context.Context) TaskDefinitionInferenceAcceleratorOutput
- type TaskDefinitionInput
- type TaskDefinitionMap
- type TaskDefinitionMapInput
- type TaskDefinitionMapOutput
- func (TaskDefinitionMapOutput) ElementType() reflect.Type
- func (o TaskDefinitionMapOutput) MapIndex(k pulumi.StringInput) TaskDefinitionOutput
- func (o TaskDefinitionMapOutput) ToTaskDefinitionMapOutput() TaskDefinitionMapOutput
- func (o TaskDefinitionMapOutput) ToTaskDefinitionMapOutputWithContext(ctx context.Context) TaskDefinitionMapOutput
- type TaskDefinitionOutput
- func (o TaskDefinitionOutput) Arn() pulumi.StringOutput
- func (o TaskDefinitionOutput) ContainerDefinitions() pulumi.StringOutput
- func (o TaskDefinitionOutput) Cpu() pulumi.StringPtrOutput
- func (TaskDefinitionOutput) ElementType() reflect.Type
- func (o TaskDefinitionOutput) EphemeralStorage() TaskDefinitionEphemeralStoragePtrOutput
- func (o TaskDefinitionOutput) ExecutionRoleArn() pulumi.StringPtrOutput
- func (o TaskDefinitionOutput) Family() pulumi.StringOutput
- func (o TaskDefinitionOutput) InferenceAccelerators() TaskDefinitionInferenceAcceleratorArrayOutput
- func (o TaskDefinitionOutput) IpcMode() pulumi.StringPtrOutput
- func (o TaskDefinitionOutput) Memory() pulumi.StringPtrOutput
- func (o TaskDefinitionOutput) NetworkMode() pulumi.StringOutput
- func (o TaskDefinitionOutput) PidMode() pulumi.StringPtrOutput
- func (o TaskDefinitionOutput) PlacementConstraints() TaskDefinitionPlacementConstraintArrayOutput
- func (o TaskDefinitionOutput) ProxyConfiguration() TaskDefinitionProxyConfigurationPtrOutput
- func (o TaskDefinitionOutput) RequiresCompatibilities() pulumi.StringArrayOutput
- func (o TaskDefinitionOutput) Revision() pulumi.IntOutput
- func (o TaskDefinitionOutput) RuntimePlatform() TaskDefinitionRuntimePlatformPtrOutput
- func (o TaskDefinitionOutput) SkipDestroy() pulumi.BoolPtrOutput
- func (o TaskDefinitionOutput) Tags() pulumi.StringMapOutput
- func (o TaskDefinitionOutput) TagsAll() pulumi.StringMapOutput
- func (o TaskDefinitionOutput) TaskRoleArn() pulumi.StringPtrOutput
- func (o TaskDefinitionOutput) ToTaskDefinitionOutput() TaskDefinitionOutput
- func (o TaskDefinitionOutput) ToTaskDefinitionOutputWithContext(ctx context.Context) TaskDefinitionOutput
- func (o TaskDefinitionOutput) Volumes() TaskDefinitionVolumeArrayOutput
- type TaskDefinitionPlacementConstraint
- type TaskDefinitionPlacementConstraintArgs
- func (TaskDefinitionPlacementConstraintArgs) ElementType() reflect.Type
- func (i TaskDefinitionPlacementConstraintArgs) ToTaskDefinitionPlacementConstraintOutput() TaskDefinitionPlacementConstraintOutput
- func (i TaskDefinitionPlacementConstraintArgs) ToTaskDefinitionPlacementConstraintOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintOutput
- type TaskDefinitionPlacementConstraintArray
- func (TaskDefinitionPlacementConstraintArray) ElementType() reflect.Type
- func (i TaskDefinitionPlacementConstraintArray) ToTaskDefinitionPlacementConstraintArrayOutput() TaskDefinitionPlacementConstraintArrayOutput
- func (i TaskDefinitionPlacementConstraintArray) ToTaskDefinitionPlacementConstraintArrayOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintArrayOutput
- type TaskDefinitionPlacementConstraintArrayInput
- type TaskDefinitionPlacementConstraintArrayOutput
- func (TaskDefinitionPlacementConstraintArrayOutput) ElementType() reflect.Type
- func (o TaskDefinitionPlacementConstraintArrayOutput) Index(i pulumi.IntInput) TaskDefinitionPlacementConstraintOutput
- func (o TaskDefinitionPlacementConstraintArrayOutput) ToTaskDefinitionPlacementConstraintArrayOutput() TaskDefinitionPlacementConstraintArrayOutput
- func (o TaskDefinitionPlacementConstraintArrayOutput) ToTaskDefinitionPlacementConstraintArrayOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintArrayOutput
- type TaskDefinitionPlacementConstraintInput
- type TaskDefinitionPlacementConstraintOutput
- func (TaskDefinitionPlacementConstraintOutput) ElementType() reflect.Type
- func (o TaskDefinitionPlacementConstraintOutput) Expression() pulumi.StringPtrOutput
- func (o TaskDefinitionPlacementConstraintOutput) ToTaskDefinitionPlacementConstraintOutput() TaskDefinitionPlacementConstraintOutput
- func (o TaskDefinitionPlacementConstraintOutput) ToTaskDefinitionPlacementConstraintOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintOutput
- func (o TaskDefinitionPlacementConstraintOutput) Type() pulumi.StringOutput
- type TaskDefinitionProxyConfiguration
- type TaskDefinitionProxyConfigurationArgs
- func (TaskDefinitionProxyConfigurationArgs) ElementType() reflect.Type
- func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationOutput() TaskDefinitionProxyConfigurationOutput
- func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationOutput
- func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput
- func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationPtrOutput
- type TaskDefinitionProxyConfigurationInput
- type TaskDefinitionProxyConfigurationOutput
- func (o TaskDefinitionProxyConfigurationOutput) ContainerName() pulumi.StringOutput
- func (TaskDefinitionProxyConfigurationOutput) ElementType() reflect.Type
- func (o TaskDefinitionProxyConfigurationOutput) Properties() pulumi.StringMapOutput
- func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationOutput() TaskDefinitionProxyConfigurationOutput
- func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationOutput
- func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput
- func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationPtrOutput
- func (o TaskDefinitionProxyConfigurationOutput) Type() pulumi.StringPtrOutput
- type TaskDefinitionProxyConfigurationPtrInput
- type TaskDefinitionProxyConfigurationPtrOutput
- func (o TaskDefinitionProxyConfigurationPtrOutput) ContainerName() pulumi.StringPtrOutput
- func (o TaskDefinitionProxyConfigurationPtrOutput) Elem() TaskDefinitionProxyConfigurationOutput
- func (TaskDefinitionProxyConfigurationPtrOutput) ElementType() reflect.Type
- func (o TaskDefinitionProxyConfigurationPtrOutput) Properties() pulumi.StringMapOutput
- func (o TaskDefinitionProxyConfigurationPtrOutput) ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput
- func (o TaskDefinitionProxyConfigurationPtrOutput) ToTaskDefinitionProxyConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationPtrOutput
- func (o TaskDefinitionProxyConfigurationPtrOutput) Type() pulumi.StringPtrOutput
- type TaskDefinitionRuntimePlatform
- type TaskDefinitionRuntimePlatformArgs
- func (TaskDefinitionRuntimePlatformArgs) ElementType() reflect.Type
- func (i TaskDefinitionRuntimePlatformArgs) ToTaskDefinitionRuntimePlatformOutput() TaskDefinitionRuntimePlatformOutput
- func (i TaskDefinitionRuntimePlatformArgs) ToTaskDefinitionRuntimePlatformOutputWithContext(ctx context.Context) TaskDefinitionRuntimePlatformOutput
- func (i TaskDefinitionRuntimePlatformArgs) ToTaskDefinitionRuntimePlatformPtrOutput() TaskDefinitionRuntimePlatformPtrOutput
- func (i TaskDefinitionRuntimePlatformArgs) ToTaskDefinitionRuntimePlatformPtrOutputWithContext(ctx context.Context) TaskDefinitionRuntimePlatformPtrOutput
- type TaskDefinitionRuntimePlatformInput
- type TaskDefinitionRuntimePlatformOutput
- func (o TaskDefinitionRuntimePlatformOutput) CpuArchitecture() pulumi.StringPtrOutput
- func (TaskDefinitionRuntimePlatformOutput) ElementType() reflect.Type
- func (o TaskDefinitionRuntimePlatformOutput) OperatingSystemFamily() pulumi.StringPtrOutput
- func (o TaskDefinitionRuntimePlatformOutput) ToTaskDefinitionRuntimePlatformOutput() TaskDefinitionRuntimePlatformOutput
- func (o TaskDefinitionRuntimePlatformOutput) ToTaskDefinitionRuntimePlatformOutputWithContext(ctx context.Context) TaskDefinitionRuntimePlatformOutput
- func (o TaskDefinitionRuntimePlatformOutput) ToTaskDefinitionRuntimePlatformPtrOutput() TaskDefinitionRuntimePlatformPtrOutput
- func (o TaskDefinitionRuntimePlatformOutput) ToTaskDefinitionRuntimePlatformPtrOutputWithContext(ctx context.Context) TaskDefinitionRuntimePlatformPtrOutput
- type TaskDefinitionRuntimePlatformPtrInput
- type TaskDefinitionRuntimePlatformPtrOutput
- func (o TaskDefinitionRuntimePlatformPtrOutput) CpuArchitecture() pulumi.StringPtrOutput
- func (o TaskDefinitionRuntimePlatformPtrOutput) Elem() TaskDefinitionRuntimePlatformOutput
- func (TaskDefinitionRuntimePlatformPtrOutput) ElementType() reflect.Type
- func (o TaskDefinitionRuntimePlatformPtrOutput) OperatingSystemFamily() pulumi.StringPtrOutput
- func (o TaskDefinitionRuntimePlatformPtrOutput) ToTaskDefinitionRuntimePlatformPtrOutput() TaskDefinitionRuntimePlatformPtrOutput
- func (o TaskDefinitionRuntimePlatformPtrOutput) ToTaskDefinitionRuntimePlatformPtrOutputWithContext(ctx context.Context) TaskDefinitionRuntimePlatformPtrOutput
- type TaskDefinitionState
- type TaskDefinitionVolume
- type TaskDefinitionVolumeArgs
- type TaskDefinitionVolumeArray
- type TaskDefinitionVolumeArrayInput
- type TaskDefinitionVolumeArrayOutput
- func (TaskDefinitionVolumeArrayOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeArrayOutput) Index(i pulumi.IntInput) TaskDefinitionVolumeOutput
- func (o TaskDefinitionVolumeArrayOutput) ToTaskDefinitionVolumeArrayOutput() TaskDefinitionVolumeArrayOutput
- func (o TaskDefinitionVolumeArrayOutput) ToTaskDefinitionVolumeArrayOutputWithContext(ctx context.Context) TaskDefinitionVolumeArrayOutput
- type TaskDefinitionVolumeDockerVolumeConfiguration
- type TaskDefinitionVolumeDockerVolumeConfigurationArgs
- func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ElementType() reflect.Type
- func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationOutput() TaskDefinitionVolumeDockerVolumeConfigurationOutput
- func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationOutput
- func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
- func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
- type TaskDefinitionVolumeDockerVolumeConfigurationInput
- type TaskDefinitionVolumeDockerVolumeConfigurationOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) Autoprovision() pulumi.BoolPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) Driver() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) DriverOpts() pulumi.StringMapOutput
- func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) Labels() pulumi.StringMapOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) Scope() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationOutput() TaskDefinitionVolumeDockerVolumeConfigurationOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
- type TaskDefinitionVolumeDockerVolumeConfigurationPtrInput
- type TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Autoprovision() pulumi.BoolPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Driver() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) DriverOpts() pulumi.StringMapOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Elem() TaskDefinitionVolumeDockerVolumeConfigurationOutput
- func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Labels() pulumi.StringMapOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Scope() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
- type TaskDefinitionVolumeEfsVolumeConfiguration
- type TaskDefinitionVolumeEfsVolumeConfigurationArgs
- func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ElementType() reflect.Type
- func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationOutput() TaskDefinitionVolumeEfsVolumeConfigurationOutput
- func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationOutput
- func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
- func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
- type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig
- type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs
- func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ElementType() reflect.Type
- func (i TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput
- func (i TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput
- func (i TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
- func (i TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
- type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigInput
- type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) AccessPointId() pulumi.StringPtrOutput
- func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) Iam() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
- type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrInput
- type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) AccessPointId() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) Elem() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput
- func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) Iam() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
- type TaskDefinitionVolumeEfsVolumeConfigurationInput
- type TaskDefinitionVolumeEfsVolumeConfigurationOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) AuthorizationConfig() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
- func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) FileSystemId() pulumi.StringOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) RootDirectory() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationOutput() TaskDefinitionVolumeEfsVolumeConfigurationOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) TransitEncryption() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) TransitEncryptionPort() pulumi.IntPtrOutput
- type TaskDefinitionVolumeEfsVolumeConfigurationPtrInput
- type TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) AuthorizationConfig() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) Elem() TaskDefinitionVolumeEfsVolumeConfigurationOutput
- func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) FileSystemId() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) RootDirectory() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) TransitEncryption() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) TransitEncryptionPort() pulumi.IntPtrOutput
- type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration
- type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs
- func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs) ElementType() reflect.Type
- func (i TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput
- func (i TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput
- func (i TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput
- func (i TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput
- type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfig
- type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs
- func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs) ElementType() reflect.Type
- func (i TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput() ...
- func (i TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutputWithContext(ctx context.Context) ...
- func (i TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput() ...
- func (i TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutputWithContext(ctx context.Context) ...
- type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigInput
- type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) CredentialsParameter() pulumi.StringOutput
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) Domain() pulumi.StringOutput
- func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput() ...
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutputWithContext(ctx context.Context) ...
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput() ...
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutputWithContext(ctx context.Context) ...
- type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrInput
- type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput) CredentialsParameter() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput) Domain() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput) Elem() ...
- func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput() ...
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutputWithContext(ctx context.Context) ...
- type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationInput
- type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) AuthorizationConfig() ...
- func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) FileSystemId() pulumi.StringOutput
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) RootDirectory() pulumi.StringOutput
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput
- type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrInput
- type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) AuthorizationConfig() ...
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) Elem() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput
- func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) FileSystemId() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) RootDirectory() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput
- type TaskDefinitionVolumeInput
- type TaskDefinitionVolumeOutput
- func (o TaskDefinitionVolumeOutput) DockerVolumeConfiguration() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeOutput) EfsVolumeConfiguration() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
- func (TaskDefinitionVolumeOutput) ElementType() reflect.Type
- func (o TaskDefinitionVolumeOutput) FsxWindowsFileServerVolumeConfiguration() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput
- func (o TaskDefinitionVolumeOutput) HostPath() pulumi.StringPtrOutput
- func (o TaskDefinitionVolumeOutput) Name() pulumi.StringOutput
- func (o TaskDefinitionVolumeOutput) ToTaskDefinitionVolumeOutput() TaskDefinitionVolumeOutput
- func (o TaskDefinitionVolumeOutput) ToTaskDefinitionVolumeOutputWithContext(ctx context.Context) TaskDefinitionVolumeOutput
- type TaskSet
- type TaskSetArgs
- type TaskSetArray
- type TaskSetArrayInput
- type TaskSetArrayOutput
- type TaskSetCapacityProviderStrategy
- type TaskSetCapacityProviderStrategyArgs
- func (TaskSetCapacityProviderStrategyArgs) ElementType() reflect.Type
- func (i TaskSetCapacityProviderStrategyArgs) ToTaskSetCapacityProviderStrategyOutput() TaskSetCapacityProviderStrategyOutput
- func (i TaskSetCapacityProviderStrategyArgs) ToTaskSetCapacityProviderStrategyOutputWithContext(ctx context.Context) TaskSetCapacityProviderStrategyOutput
- type TaskSetCapacityProviderStrategyArray
- func (TaskSetCapacityProviderStrategyArray) ElementType() reflect.Type
- func (i TaskSetCapacityProviderStrategyArray) ToTaskSetCapacityProviderStrategyArrayOutput() TaskSetCapacityProviderStrategyArrayOutput
- func (i TaskSetCapacityProviderStrategyArray) ToTaskSetCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) TaskSetCapacityProviderStrategyArrayOutput
- type TaskSetCapacityProviderStrategyArrayInput
- type TaskSetCapacityProviderStrategyArrayOutput
- func (TaskSetCapacityProviderStrategyArrayOutput) ElementType() reflect.Type
- func (o TaskSetCapacityProviderStrategyArrayOutput) Index(i pulumi.IntInput) TaskSetCapacityProviderStrategyOutput
- func (o TaskSetCapacityProviderStrategyArrayOutput) ToTaskSetCapacityProviderStrategyArrayOutput() TaskSetCapacityProviderStrategyArrayOutput
- func (o TaskSetCapacityProviderStrategyArrayOutput) ToTaskSetCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) TaskSetCapacityProviderStrategyArrayOutput
- type TaskSetCapacityProviderStrategyInput
- type TaskSetCapacityProviderStrategyOutput
- func (o TaskSetCapacityProviderStrategyOutput) Base() pulumi.IntPtrOutput
- func (o TaskSetCapacityProviderStrategyOutput) CapacityProvider() pulumi.StringOutput
- func (TaskSetCapacityProviderStrategyOutput) ElementType() reflect.Type
- func (o TaskSetCapacityProviderStrategyOutput) ToTaskSetCapacityProviderStrategyOutput() TaskSetCapacityProviderStrategyOutput
- func (o TaskSetCapacityProviderStrategyOutput) ToTaskSetCapacityProviderStrategyOutputWithContext(ctx context.Context) TaskSetCapacityProviderStrategyOutput
- func (o TaskSetCapacityProviderStrategyOutput) Weight() pulumi.IntOutput
- type TaskSetInput
- type TaskSetLoadBalancer
- type TaskSetLoadBalancerArgs
- type TaskSetLoadBalancerArray
- type TaskSetLoadBalancerArrayInput
- type TaskSetLoadBalancerArrayOutput
- func (TaskSetLoadBalancerArrayOutput) ElementType() reflect.Type
- func (o TaskSetLoadBalancerArrayOutput) Index(i pulumi.IntInput) TaskSetLoadBalancerOutput
- func (o TaskSetLoadBalancerArrayOutput) ToTaskSetLoadBalancerArrayOutput() TaskSetLoadBalancerArrayOutput
- func (o TaskSetLoadBalancerArrayOutput) ToTaskSetLoadBalancerArrayOutputWithContext(ctx context.Context) TaskSetLoadBalancerArrayOutput
- type TaskSetLoadBalancerInput
- type TaskSetLoadBalancerOutput
- func (o TaskSetLoadBalancerOutput) ContainerName() pulumi.StringOutput
- func (o TaskSetLoadBalancerOutput) ContainerPort() pulumi.IntPtrOutput
- func (TaskSetLoadBalancerOutput) ElementType() reflect.Type
- func (o TaskSetLoadBalancerOutput) LoadBalancerName() pulumi.StringPtrOutput
- func (o TaskSetLoadBalancerOutput) TargetGroupArn() pulumi.StringPtrOutput
- func (o TaskSetLoadBalancerOutput) ToTaskSetLoadBalancerOutput() TaskSetLoadBalancerOutput
- func (o TaskSetLoadBalancerOutput) ToTaskSetLoadBalancerOutputWithContext(ctx context.Context) TaskSetLoadBalancerOutput
- type TaskSetMap
- type TaskSetMapInput
- type TaskSetMapOutput
- type TaskSetNetworkConfiguration
- type TaskSetNetworkConfigurationArgs
- func (TaskSetNetworkConfigurationArgs) ElementType() reflect.Type
- func (i TaskSetNetworkConfigurationArgs) ToTaskSetNetworkConfigurationOutput() TaskSetNetworkConfigurationOutput
- func (i TaskSetNetworkConfigurationArgs) ToTaskSetNetworkConfigurationOutputWithContext(ctx context.Context) TaskSetNetworkConfigurationOutput
- func (i TaskSetNetworkConfigurationArgs) ToTaskSetNetworkConfigurationPtrOutput() TaskSetNetworkConfigurationPtrOutput
- func (i TaskSetNetworkConfigurationArgs) ToTaskSetNetworkConfigurationPtrOutputWithContext(ctx context.Context) TaskSetNetworkConfigurationPtrOutput
- type TaskSetNetworkConfigurationInput
- type TaskSetNetworkConfigurationOutput
- func (o TaskSetNetworkConfigurationOutput) AssignPublicIp() pulumi.BoolPtrOutput
- func (TaskSetNetworkConfigurationOutput) ElementType() reflect.Type
- func (o TaskSetNetworkConfigurationOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o TaskSetNetworkConfigurationOutput) Subnets() pulumi.StringArrayOutput
- func (o TaskSetNetworkConfigurationOutput) ToTaskSetNetworkConfigurationOutput() TaskSetNetworkConfigurationOutput
- func (o TaskSetNetworkConfigurationOutput) ToTaskSetNetworkConfigurationOutputWithContext(ctx context.Context) TaskSetNetworkConfigurationOutput
- func (o TaskSetNetworkConfigurationOutput) ToTaskSetNetworkConfigurationPtrOutput() TaskSetNetworkConfigurationPtrOutput
- func (o TaskSetNetworkConfigurationOutput) ToTaskSetNetworkConfigurationPtrOutputWithContext(ctx context.Context) TaskSetNetworkConfigurationPtrOutput
- type TaskSetNetworkConfigurationPtrInput
- type TaskSetNetworkConfigurationPtrOutput
- func (o TaskSetNetworkConfigurationPtrOutput) AssignPublicIp() pulumi.BoolPtrOutput
- func (o TaskSetNetworkConfigurationPtrOutput) Elem() TaskSetNetworkConfigurationOutput
- func (TaskSetNetworkConfigurationPtrOutput) ElementType() reflect.Type
- func (o TaskSetNetworkConfigurationPtrOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o TaskSetNetworkConfigurationPtrOutput) Subnets() pulumi.StringArrayOutput
- func (o TaskSetNetworkConfigurationPtrOutput) ToTaskSetNetworkConfigurationPtrOutput() TaskSetNetworkConfigurationPtrOutput
- func (o TaskSetNetworkConfigurationPtrOutput) ToTaskSetNetworkConfigurationPtrOutputWithContext(ctx context.Context) TaskSetNetworkConfigurationPtrOutput
- type TaskSetOutput
- func (o TaskSetOutput) Arn() pulumi.StringOutput
- func (o TaskSetOutput) CapacityProviderStrategies() TaskSetCapacityProviderStrategyArrayOutput
- func (o TaskSetOutput) Cluster() pulumi.StringOutput
- func (TaskSetOutput) ElementType() reflect.Type
- func (o TaskSetOutput) ExternalId() pulumi.StringOutput
- func (o TaskSetOutput) ForceDelete() pulumi.BoolPtrOutput
- func (o TaskSetOutput) LaunchType() pulumi.StringOutput
- func (o TaskSetOutput) LoadBalancers() TaskSetLoadBalancerArrayOutput
- func (o TaskSetOutput) NetworkConfiguration() TaskSetNetworkConfigurationPtrOutput
- func (o TaskSetOutput) PlatformVersion() pulumi.StringOutput
- func (o TaskSetOutput) Scale() TaskSetScaleOutput
- func (o TaskSetOutput) Service() pulumi.StringOutput
- func (o TaskSetOutput) ServiceRegistries() TaskSetServiceRegistriesPtrOutput
- func (o TaskSetOutput) StabilityStatus() pulumi.StringOutput
- func (o TaskSetOutput) Status() pulumi.StringOutput
- func (o TaskSetOutput) Tags() pulumi.StringMapOutput
- func (o TaskSetOutput) TagsAll() pulumi.StringMapOutput
- func (o TaskSetOutput) TaskDefinition() pulumi.StringOutput
- func (o TaskSetOutput) TaskSetId() pulumi.StringOutput
- func (o TaskSetOutput) ToTaskSetOutput() TaskSetOutput
- func (o TaskSetOutput) ToTaskSetOutputWithContext(ctx context.Context) TaskSetOutput
- func (o TaskSetOutput) WaitUntilStable() pulumi.BoolPtrOutput
- func (o TaskSetOutput) WaitUntilStableTimeout() pulumi.StringPtrOutput
- type TaskSetScale
- type TaskSetScaleArgs
- func (TaskSetScaleArgs) ElementType() reflect.Type
- func (i TaskSetScaleArgs) ToTaskSetScaleOutput() TaskSetScaleOutput
- func (i TaskSetScaleArgs) ToTaskSetScaleOutputWithContext(ctx context.Context) TaskSetScaleOutput
- func (i TaskSetScaleArgs) ToTaskSetScalePtrOutput() TaskSetScalePtrOutput
- func (i TaskSetScaleArgs) ToTaskSetScalePtrOutputWithContext(ctx context.Context) TaskSetScalePtrOutput
- type TaskSetScaleInput
- type TaskSetScaleOutput
- func (TaskSetScaleOutput) ElementType() reflect.Type
- func (o TaskSetScaleOutput) ToTaskSetScaleOutput() TaskSetScaleOutput
- func (o TaskSetScaleOutput) ToTaskSetScaleOutputWithContext(ctx context.Context) TaskSetScaleOutput
- func (o TaskSetScaleOutput) ToTaskSetScalePtrOutput() TaskSetScalePtrOutput
- func (o TaskSetScaleOutput) ToTaskSetScalePtrOutputWithContext(ctx context.Context) TaskSetScalePtrOutput
- func (o TaskSetScaleOutput) Unit() pulumi.StringPtrOutput
- func (o TaskSetScaleOutput) Value() pulumi.Float64PtrOutput
- type TaskSetScalePtrInput
- type TaskSetScalePtrOutput
- func (o TaskSetScalePtrOutput) Elem() TaskSetScaleOutput
- func (TaskSetScalePtrOutput) ElementType() reflect.Type
- func (o TaskSetScalePtrOutput) ToTaskSetScalePtrOutput() TaskSetScalePtrOutput
- func (o TaskSetScalePtrOutput) ToTaskSetScalePtrOutputWithContext(ctx context.Context) TaskSetScalePtrOutput
- func (o TaskSetScalePtrOutput) Unit() pulumi.StringPtrOutput
- func (o TaskSetScalePtrOutput) Value() pulumi.Float64PtrOutput
- type TaskSetServiceRegistries
- type TaskSetServiceRegistriesArgs
- func (TaskSetServiceRegistriesArgs) ElementType() reflect.Type
- func (i TaskSetServiceRegistriesArgs) ToTaskSetServiceRegistriesOutput() TaskSetServiceRegistriesOutput
- func (i TaskSetServiceRegistriesArgs) ToTaskSetServiceRegistriesOutputWithContext(ctx context.Context) TaskSetServiceRegistriesOutput
- func (i TaskSetServiceRegistriesArgs) ToTaskSetServiceRegistriesPtrOutput() TaskSetServiceRegistriesPtrOutput
- func (i TaskSetServiceRegistriesArgs) ToTaskSetServiceRegistriesPtrOutputWithContext(ctx context.Context) TaskSetServiceRegistriesPtrOutput
- type TaskSetServiceRegistriesInput
- type TaskSetServiceRegistriesOutput
- func (o TaskSetServiceRegistriesOutput) ContainerName() pulumi.StringPtrOutput
- func (o TaskSetServiceRegistriesOutput) ContainerPort() pulumi.IntPtrOutput
- func (TaskSetServiceRegistriesOutput) ElementType() reflect.Type
- func (o TaskSetServiceRegistriesOutput) Port() pulumi.IntPtrOutput
- func (o TaskSetServiceRegistriesOutput) RegistryArn() pulumi.StringOutput
- func (o TaskSetServiceRegistriesOutput) ToTaskSetServiceRegistriesOutput() TaskSetServiceRegistriesOutput
- func (o TaskSetServiceRegistriesOutput) ToTaskSetServiceRegistriesOutputWithContext(ctx context.Context) TaskSetServiceRegistriesOutput
- func (o TaskSetServiceRegistriesOutput) ToTaskSetServiceRegistriesPtrOutput() TaskSetServiceRegistriesPtrOutput
- func (o TaskSetServiceRegistriesOutput) ToTaskSetServiceRegistriesPtrOutputWithContext(ctx context.Context) TaskSetServiceRegistriesPtrOutput
- type TaskSetServiceRegistriesPtrInput
- type TaskSetServiceRegistriesPtrOutput
- func (o TaskSetServiceRegistriesPtrOutput) ContainerName() pulumi.StringPtrOutput
- func (o TaskSetServiceRegistriesPtrOutput) ContainerPort() pulumi.IntPtrOutput
- func (o TaskSetServiceRegistriesPtrOutput) Elem() TaskSetServiceRegistriesOutput
- func (TaskSetServiceRegistriesPtrOutput) ElementType() reflect.Type
- func (o TaskSetServiceRegistriesPtrOutput) Port() pulumi.IntPtrOutput
- func (o TaskSetServiceRegistriesPtrOutput) RegistryArn() pulumi.StringPtrOutput
- func (o TaskSetServiceRegistriesPtrOutput) ToTaskSetServiceRegistriesPtrOutput() TaskSetServiceRegistriesPtrOutput
- func (o TaskSetServiceRegistriesPtrOutput) ToTaskSetServiceRegistriesPtrOutputWithContext(ctx context.Context) TaskSetServiceRegistriesPtrOutput
- type TaskSetState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountSettingDefault ¶
type AccountSettingDefault struct { pulumi.CustomResourceState // Name of the account setting to set. Valid values are `serviceLongArnFormat`, `taskLongArnFormat`, `containerInstanceLongArnFormat`, `awsvpcTrunking` and `containerInsights`. Name pulumi.StringOutput `pulumi:"name"` PrincipalArn pulumi.StringOutput `pulumi:"principalArn"` // State of the setting. Valid values are `enabled` and `disabled`. Value pulumi.StringOutput `pulumi:"value"` }
Provides an ECS default account setting for a specific ECS Resource name within a specific region. More information can be found on the [ECS Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html).
> **NOTE:** The AWS API does not delete this resource. When you run `destroy`, the provider will attempt to disable the setting.
> **NOTE:** Your AWS account may not support disabling `containerInstanceLongArnFormat`, `serviceLongArnFormat`, and `taskLongArnFormat`. If your account does not support disabling these, "destroying" this resource will not disable the setting nor cause a provider error. However, the AWS Provider will log an AWS error: `InvalidParameterException: You can no longer disable Long Arn settings`.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewAccountSettingDefault(ctx, "test", &ecs.AccountSettingDefaultArgs{ Value: pulumi.String("enabled"), }) if err != nil { return err } return nil }) }
```
## Import
ECS Account Setting defaults can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:ecs/accountSettingDefault:AccountSettingDefault example taskLongArnFormat
```
func GetAccountSettingDefault ¶
func GetAccountSettingDefault(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AccountSettingDefaultState, opts ...pulumi.ResourceOption) (*AccountSettingDefault, error)
GetAccountSettingDefault gets an existing AccountSettingDefault resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAccountSettingDefault ¶
func NewAccountSettingDefault(ctx *pulumi.Context, name string, args *AccountSettingDefaultArgs, opts ...pulumi.ResourceOption) (*AccountSettingDefault, error)
NewAccountSettingDefault registers a new resource with the given unique name, arguments, and options.
func (*AccountSettingDefault) ElementType ¶
func (*AccountSettingDefault) ElementType() reflect.Type
func (*AccountSettingDefault) ToAccountSettingDefaultOutput ¶
func (i *AccountSettingDefault) ToAccountSettingDefaultOutput() AccountSettingDefaultOutput
func (*AccountSettingDefault) ToAccountSettingDefaultOutputWithContext ¶
func (i *AccountSettingDefault) ToAccountSettingDefaultOutputWithContext(ctx context.Context) AccountSettingDefaultOutput
type AccountSettingDefaultArgs ¶
type AccountSettingDefaultArgs struct { // Name of the account setting to set. Valid values are `serviceLongArnFormat`, `taskLongArnFormat`, `containerInstanceLongArnFormat`, `awsvpcTrunking` and `containerInsights`. Name pulumi.StringPtrInput // State of the setting. Valid values are `enabled` and `disabled`. Value pulumi.StringInput }
The set of arguments for constructing a AccountSettingDefault resource.
func (AccountSettingDefaultArgs) ElementType ¶
func (AccountSettingDefaultArgs) ElementType() reflect.Type
type AccountSettingDefaultArray ¶
type AccountSettingDefaultArray []AccountSettingDefaultInput
func (AccountSettingDefaultArray) ElementType ¶
func (AccountSettingDefaultArray) ElementType() reflect.Type
func (AccountSettingDefaultArray) ToAccountSettingDefaultArrayOutput ¶
func (i AccountSettingDefaultArray) ToAccountSettingDefaultArrayOutput() AccountSettingDefaultArrayOutput
func (AccountSettingDefaultArray) ToAccountSettingDefaultArrayOutputWithContext ¶
func (i AccountSettingDefaultArray) ToAccountSettingDefaultArrayOutputWithContext(ctx context.Context) AccountSettingDefaultArrayOutput
type AccountSettingDefaultArrayInput ¶
type AccountSettingDefaultArrayInput interface { pulumi.Input ToAccountSettingDefaultArrayOutput() AccountSettingDefaultArrayOutput ToAccountSettingDefaultArrayOutputWithContext(context.Context) AccountSettingDefaultArrayOutput }
AccountSettingDefaultArrayInput is an input type that accepts AccountSettingDefaultArray and AccountSettingDefaultArrayOutput values. You can construct a concrete instance of `AccountSettingDefaultArrayInput` via:
AccountSettingDefaultArray{ AccountSettingDefaultArgs{...} }
type AccountSettingDefaultArrayOutput ¶
type AccountSettingDefaultArrayOutput struct{ *pulumi.OutputState }
func (AccountSettingDefaultArrayOutput) ElementType ¶
func (AccountSettingDefaultArrayOutput) ElementType() reflect.Type
func (AccountSettingDefaultArrayOutput) Index ¶
func (o AccountSettingDefaultArrayOutput) Index(i pulumi.IntInput) AccountSettingDefaultOutput
func (AccountSettingDefaultArrayOutput) ToAccountSettingDefaultArrayOutput ¶
func (o AccountSettingDefaultArrayOutput) ToAccountSettingDefaultArrayOutput() AccountSettingDefaultArrayOutput
func (AccountSettingDefaultArrayOutput) ToAccountSettingDefaultArrayOutputWithContext ¶
func (o AccountSettingDefaultArrayOutput) ToAccountSettingDefaultArrayOutputWithContext(ctx context.Context) AccountSettingDefaultArrayOutput
type AccountSettingDefaultInput ¶
type AccountSettingDefaultInput interface { pulumi.Input ToAccountSettingDefaultOutput() AccountSettingDefaultOutput ToAccountSettingDefaultOutputWithContext(ctx context.Context) AccountSettingDefaultOutput }
type AccountSettingDefaultMap ¶
type AccountSettingDefaultMap map[string]AccountSettingDefaultInput
func (AccountSettingDefaultMap) ElementType ¶
func (AccountSettingDefaultMap) ElementType() reflect.Type
func (AccountSettingDefaultMap) ToAccountSettingDefaultMapOutput ¶
func (i AccountSettingDefaultMap) ToAccountSettingDefaultMapOutput() AccountSettingDefaultMapOutput
func (AccountSettingDefaultMap) ToAccountSettingDefaultMapOutputWithContext ¶
func (i AccountSettingDefaultMap) ToAccountSettingDefaultMapOutputWithContext(ctx context.Context) AccountSettingDefaultMapOutput
type AccountSettingDefaultMapInput ¶
type AccountSettingDefaultMapInput interface { pulumi.Input ToAccountSettingDefaultMapOutput() AccountSettingDefaultMapOutput ToAccountSettingDefaultMapOutputWithContext(context.Context) AccountSettingDefaultMapOutput }
AccountSettingDefaultMapInput is an input type that accepts AccountSettingDefaultMap and AccountSettingDefaultMapOutput values. You can construct a concrete instance of `AccountSettingDefaultMapInput` via:
AccountSettingDefaultMap{ "key": AccountSettingDefaultArgs{...} }
type AccountSettingDefaultMapOutput ¶
type AccountSettingDefaultMapOutput struct{ *pulumi.OutputState }
func (AccountSettingDefaultMapOutput) ElementType ¶
func (AccountSettingDefaultMapOutput) ElementType() reflect.Type
func (AccountSettingDefaultMapOutput) MapIndex ¶
func (o AccountSettingDefaultMapOutput) MapIndex(k pulumi.StringInput) AccountSettingDefaultOutput
func (AccountSettingDefaultMapOutput) ToAccountSettingDefaultMapOutput ¶
func (o AccountSettingDefaultMapOutput) ToAccountSettingDefaultMapOutput() AccountSettingDefaultMapOutput
func (AccountSettingDefaultMapOutput) ToAccountSettingDefaultMapOutputWithContext ¶
func (o AccountSettingDefaultMapOutput) ToAccountSettingDefaultMapOutputWithContext(ctx context.Context) AccountSettingDefaultMapOutput
type AccountSettingDefaultOutput ¶
type AccountSettingDefaultOutput struct{ *pulumi.OutputState }
func (AccountSettingDefaultOutput) ElementType ¶
func (AccountSettingDefaultOutput) ElementType() reflect.Type
func (AccountSettingDefaultOutput) Name ¶ added in v5.4.0
func (o AccountSettingDefaultOutput) Name() pulumi.StringOutput
Name of the account setting to set. Valid values are `serviceLongArnFormat`, `taskLongArnFormat`, `containerInstanceLongArnFormat`, `awsvpcTrunking` and `containerInsights`.
func (AccountSettingDefaultOutput) PrincipalArn ¶ added in v5.4.0
func (o AccountSettingDefaultOutput) PrincipalArn() pulumi.StringOutput
func (AccountSettingDefaultOutput) ToAccountSettingDefaultOutput ¶
func (o AccountSettingDefaultOutput) ToAccountSettingDefaultOutput() AccountSettingDefaultOutput
func (AccountSettingDefaultOutput) ToAccountSettingDefaultOutputWithContext ¶
func (o AccountSettingDefaultOutput) ToAccountSettingDefaultOutputWithContext(ctx context.Context) AccountSettingDefaultOutput
func (AccountSettingDefaultOutput) Value ¶ added in v5.4.0
func (o AccountSettingDefaultOutput) Value() pulumi.StringOutput
State of the setting. Valid values are `enabled` and `disabled`.
type AccountSettingDefaultState ¶
type AccountSettingDefaultState struct { // Name of the account setting to set. Valid values are `serviceLongArnFormat`, `taskLongArnFormat`, `containerInstanceLongArnFormat`, `awsvpcTrunking` and `containerInsights`. Name pulumi.StringPtrInput PrincipalArn pulumi.StringPtrInput // State of the setting. Valid values are `enabled` and `disabled`. Value pulumi.StringPtrInput }
func (AccountSettingDefaultState) ElementType ¶
func (AccountSettingDefaultState) ElementType() reflect.Type
type CapacityProvider ¶
type CapacityProvider struct { pulumi.CustomResourceState // ARN that identifies the capacity provider. Arn pulumi.StringOutput `pulumi:"arn"` // Configuration block for the provider for the ECS auto scaling group. Detailed below. AutoScalingGroupProvider CapacityProviderAutoScalingGroupProviderOutput `pulumi:"autoScalingGroupProvider"` // Name of the capacity provider. Name pulumi.StringOutput `pulumi:"name"` // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides an ECS cluster capacity provider. More information can be found on the [ECS Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-capacity-providers.html).
> **NOTE:** Associating an ECS Capacity Provider to an Auto Scaling Group will automatically add the `AmazonECSManaged` tag to the Auto Scaling Group. This tag should be included in the `autoscaling.Group` resource configuration to prevent the provider from removing it in subsequent executions as well as ensuring the `AmazonECSManaged` tag is propagated to all EC2 Instances in the Auto Scaling Group if `minSize` is above 0 on creation. Any EC2 Instances in the Auto Scaling Group without this tag must be manually be updated, otherwise they may cause unexpected scaling behavior and metrics.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/autoscaling" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testGroup, err := autoscaling.NewGroup(ctx, "testGroup", &autoscaling.GroupArgs{ Tags: autoscaling.GroupTagArray{ &autoscaling.GroupTagArgs{ Key: pulumi.String("AmazonECSManaged"), Value: pulumi.String("true"), PropagateAtLaunch: pulumi.Bool(true), }, }, }) if err != nil { return err } _, err = ecs.NewCapacityProvider(ctx, "testCapacityProvider", &ecs.CapacityProviderArgs{ AutoScalingGroupProvider: &ecs.CapacityProviderAutoScalingGroupProviderArgs{ AutoScalingGroupArn: testGroup.Arn, ManagedTerminationProtection: pulumi.String("ENABLED"), ManagedScaling: &ecs.CapacityProviderAutoScalingGroupProviderManagedScalingArgs{ MaximumScalingStepSize: pulumi.Int(1000), MinimumScalingStepSize: pulumi.Int(1), Status: pulumi.String("ENABLED"), TargetCapacity: pulumi.Int(10), }, }, }) if err != nil { return err } return nil }) }
```
## Import
ECS Capacity Providers can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:ecs/capacityProvider:CapacityProvider example example
```
func GetCapacityProvider ¶
func GetCapacityProvider(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CapacityProviderState, opts ...pulumi.ResourceOption) (*CapacityProvider, error)
GetCapacityProvider gets an existing CapacityProvider resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCapacityProvider ¶
func NewCapacityProvider(ctx *pulumi.Context, name string, args *CapacityProviderArgs, opts ...pulumi.ResourceOption) (*CapacityProvider, error)
NewCapacityProvider registers a new resource with the given unique name, arguments, and options.
func (*CapacityProvider) ElementType ¶
func (*CapacityProvider) ElementType() reflect.Type
func (*CapacityProvider) ToCapacityProviderOutput ¶
func (i *CapacityProvider) ToCapacityProviderOutput() CapacityProviderOutput
func (*CapacityProvider) ToCapacityProviderOutputWithContext ¶
func (i *CapacityProvider) ToCapacityProviderOutputWithContext(ctx context.Context) CapacityProviderOutput
type CapacityProviderArgs ¶
type CapacityProviderArgs struct { // Configuration block for the provider for the ECS auto scaling group. Detailed below. AutoScalingGroupProvider CapacityProviderAutoScalingGroupProviderInput // Name of the capacity provider. Name pulumi.StringPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a CapacityProvider resource.
func (CapacityProviderArgs) ElementType ¶
func (CapacityProviderArgs) ElementType() reflect.Type
type CapacityProviderArray ¶
type CapacityProviderArray []CapacityProviderInput
func (CapacityProviderArray) ElementType ¶
func (CapacityProviderArray) ElementType() reflect.Type
func (CapacityProviderArray) ToCapacityProviderArrayOutput ¶
func (i CapacityProviderArray) ToCapacityProviderArrayOutput() CapacityProviderArrayOutput
func (CapacityProviderArray) ToCapacityProviderArrayOutputWithContext ¶
func (i CapacityProviderArray) ToCapacityProviderArrayOutputWithContext(ctx context.Context) CapacityProviderArrayOutput
type CapacityProviderArrayInput ¶
type CapacityProviderArrayInput interface { pulumi.Input ToCapacityProviderArrayOutput() CapacityProviderArrayOutput ToCapacityProviderArrayOutputWithContext(context.Context) CapacityProviderArrayOutput }
CapacityProviderArrayInput is an input type that accepts CapacityProviderArray and CapacityProviderArrayOutput values. You can construct a concrete instance of `CapacityProviderArrayInput` via:
CapacityProviderArray{ CapacityProviderArgs{...} }
type CapacityProviderArrayOutput ¶
type CapacityProviderArrayOutput struct{ *pulumi.OutputState }
func (CapacityProviderArrayOutput) ElementType ¶
func (CapacityProviderArrayOutput) ElementType() reflect.Type
func (CapacityProviderArrayOutput) Index ¶
func (o CapacityProviderArrayOutput) Index(i pulumi.IntInput) CapacityProviderOutput
func (CapacityProviderArrayOutput) ToCapacityProviderArrayOutput ¶
func (o CapacityProviderArrayOutput) ToCapacityProviderArrayOutput() CapacityProviderArrayOutput
func (CapacityProviderArrayOutput) ToCapacityProviderArrayOutputWithContext ¶
func (o CapacityProviderArrayOutput) ToCapacityProviderArrayOutputWithContext(ctx context.Context) CapacityProviderArrayOutput
type CapacityProviderAutoScalingGroupProvider ¶
type CapacityProviderAutoScalingGroupProvider struct { // - ARN of the associated auto scaling group. AutoScalingGroupArn string `pulumi:"autoScalingGroupArn"` // - Configuration block defining the parameters of the auto scaling. Detailed below. ManagedScaling *CapacityProviderAutoScalingGroupProviderManagedScaling `pulumi:"managedScaling"` // - Enables or disables container-aware termination of instances in the auto scaling group when scale-in happens. Valid values are `ENABLED` and `DISABLED`. ManagedTerminationProtection *string `pulumi:"managedTerminationProtection"` }
type CapacityProviderAutoScalingGroupProviderArgs ¶
type CapacityProviderAutoScalingGroupProviderArgs struct { // - ARN of the associated auto scaling group. AutoScalingGroupArn pulumi.StringInput `pulumi:"autoScalingGroupArn"` // - Configuration block defining the parameters of the auto scaling. Detailed below. ManagedScaling CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput `pulumi:"managedScaling"` // - Enables or disables container-aware termination of instances in the auto scaling group when scale-in happens. Valid values are `ENABLED` and `DISABLED`. ManagedTerminationProtection pulumi.StringPtrInput `pulumi:"managedTerminationProtection"` }
func (CapacityProviderAutoScalingGroupProviderArgs) ElementType ¶
func (CapacityProviderAutoScalingGroupProviderArgs) ElementType() reflect.Type
func (CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderOutput ¶
func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderOutput() CapacityProviderAutoScalingGroupProviderOutput
func (CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderOutputWithContext ¶
func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderOutput
func (CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderPtrOutput ¶
func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput
func (CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext ¶
func (i CapacityProviderAutoScalingGroupProviderArgs) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput
type CapacityProviderAutoScalingGroupProviderInput ¶
type CapacityProviderAutoScalingGroupProviderInput interface { pulumi.Input ToCapacityProviderAutoScalingGroupProviderOutput() CapacityProviderAutoScalingGroupProviderOutput ToCapacityProviderAutoScalingGroupProviderOutputWithContext(context.Context) CapacityProviderAutoScalingGroupProviderOutput }
CapacityProviderAutoScalingGroupProviderInput is an input type that accepts CapacityProviderAutoScalingGroupProviderArgs and CapacityProviderAutoScalingGroupProviderOutput values. You can construct a concrete instance of `CapacityProviderAutoScalingGroupProviderInput` via:
CapacityProviderAutoScalingGroupProviderArgs{...}
type CapacityProviderAutoScalingGroupProviderManagedScaling ¶
type CapacityProviderAutoScalingGroupProviderManagedScaling struct { // Period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value of 300 seconds is used. InstanceWarmupPeriod *int `pulumi:"instanceWarmupPeriod"` // Maximum step adjustment size. A number between 1 and 10,000. MaximumScalingStepSize *int `pulumi:"maximumScalingStepSize"` // Minimum step adjustment size. A number between 1 and 10,000. MinimumScalingStepSize *int `pulumi:"minimumScalingStepSize"` // Whether auto scaling is managed by ECS. Valid values are `ENABLED` and `DISABLED`. Status *string `pulumi:"status"` // Target utilization for the capacity provider. A number between 1 and 100. TargetCapacity *int `pulumi:"targetCapacity"` }
type CapacityProviderAutoScalingGroupProviderManagedScalingArgs ¶
type CapacityProviderAutoScalingGroupProviderManagedScalingArgs struct { // Period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value of 300 seconds is used. InstanceWarmupPeriod pulumi.IntPtrInput `pulumi:"instanceWarmupPeriod"` // Maximum step adjustment size. A number between 1 and 10,000. MaximumScalingStepSize pulumi.IntPtrInput `pulumi:"maximumScalingStepSize"` // Minimum step adjustment size. A number between 1 and 10,000. MinimumScalingStepSize pulumi.IntPtrInput `pulumi:"minimumScalingStepSize"` // Whether auto scaling is managed by ECS. Valid values are `ENABLED` and `DISABLED`. Status pulumi.StringPtrInput `pulumi:"status"` // Target utilization for the capacity provider. A number between 1 and 100. TargetCapacity pulumi.IntPtrInput `pulumi:"targetCapacity"` }
func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ElementType ¶
func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ElementType() reflect.Type
func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput ¶
func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput() CapacityProviderAutoScalingGroupProviderManagedScalingOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext ¶
func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput ¶
func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext ¶
func (i CapacityProviderAutoScalingGroupProviderManagedScalingArgs) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
type CapacityProviderAutoScalingGroupProviderManagedScalingInput ¶
type CapacityProviderAutoScalingGroupProviderManagedScalingInput interface { pulumi.Input ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput() CapacityProviderAutoScalingGroupProviderManagedScalingOutput ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext(context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingOutput }
CapacityProviderAutoScalingGroupProviderManagedScalingInput is an input type that accepts CapacityProviderAutoScalingGroupProviderManagedScalingArgs and CapacityProviderAutoScalingGroupProviderManagedScalingOutput values. You can construct a concrete instance of `CapacityProviderAutoScalingGroupProviderManagedScalingInput` via:
CapacityProviderAutoScalingGroupProviderManagedScalingArgs{...}
type CapacityProviderAutoScalingGroupProviderManagedScalingOutput ¶
type CapacityProviderAutoScalingGroupProviderManagedScalingOutput struct{ *pulumi.OutputState }
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ElementType ¶
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ElementType() reflect.Type
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) InstanceWarmupPeriod ¶
func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) InstanceWarmupPeriod() pulumi.IntPtrOutput
Period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value of 300 seconds is used.
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) MaximumScalingStepSize ¶
func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) MaximumScalingStepSize() pulumi.IntPtrOutput
Maximum step adjustment size. A number between 1 and 10,000.
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) MinimumScalingStepSize ¶
func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) MinimumScalingStepSize() pulumi.IntPtrOutput
Minimum step adjustment size. A number between 1 and 10,000.
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) Status ¶
func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) Status() pulumi.StringPtrOutput
Whether auto scaling is managed by ECS. Valid values are `ENABLED` and `DISABLED`.
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) TargetCapacity ¶
func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) TargetCapacity() pulumi.IntPtrOutput
Target utilization for the capacity provider. A number between 1 and 100.
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput ¶
func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutput() CapacityProviderAutoScalingGroupProviderManagedScalingOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext ¶
func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput ¶
func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext ¶
func (o CapacityProviderAutoScalingGroupProviderManagedScalingOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
type CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput ¶
type CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput interface { pulumi.Input ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput }
CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput is an input type that accepts CapacityProviderAutoScalingGroupProviderManagedScalingArgs, CapacityProviderAutoScalingGroupProviderManagedScalingPtr and CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput values. You can construct a concrete instance of `CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput` via:
CapacityProviderAutoScalingGroupProviderManagedScalingArgs{...} or: nil
func CapacityProviderAutoScalingGroupProviderManagedScalingPtr ¶
func CapacityProviderAutoScalingGroupProviderManagedScalingPtr(v *CapacityProviderAutoScalingGroupProviderManagedScalingArgs) CapacityProviderAutoScalingGroupProviderManagedScalingPtrInput
type CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput ¶
type CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput struct{ *pulumi.OutputState }
func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ElementType ¶
func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ElementType() reflect.Type
func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) InstanceWarmupPeriod ¶
func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) InstanceWarmupPeriod() pulumi.IntPtrOutput
Period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value of 300 seconds is used.
func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) MaximumScalingStepSize ¶
func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) MaximumScalingStepSize() pulumi.IntPtrOutput
Maximum step adjustment size. A number between 1 and 10,000.
func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) MinimumScalingStepSize ¶
func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) MinimumScalingStepSize() pulumi.IntPtrOutput
Minimum step adjustment size. A number between 1 and 10,000.
func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) Status ¶
func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) Status() pulumi.StringPtrOutput
Whether auto scaling is managed by ECS. Valid values are `ENABLED` and `DISABLED`.
func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) TargetCapacity ¶
func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) TargetCapacity() pulumi.IntPtrOutput
Target utilization for the capacity provider. A number between 1 and 100.
func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput ¶
func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
func (CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext ¶
func (o CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput) ToCapacityProviderAutoScalingGroupProviderManagedScalingPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
type CapacityProviderAutoScalingGroupProviderOutput ¶
type CapacityProviderAutoScalingGroupProviderOutput struct{ *pulumi.OutputState }
func (CapacityProviderAutoScalingGroupProviderOutput) AutoScalingGroupArn ¶
func (o CapacityProviderAutoScalingGroupProviderOutput) AutoScalingGroupArn() pulumi.StringOutput
- ARN of the associated auto scaling group.
func (CapacityProviderAutoScalingGroupProviderOutput) ElementType ¶
func (CapacityProviderAutoScalingGroupProviderOutput) ElementType() reflect.Type
func (CapacityProviderAutoScalingGroupProviderOutput) ManagedScaling ¶
func (o CapacityProviderAutoScalingGroupProviderOutput) ManagedScaling() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- Configuration block defining the parameters of the auto scaling. Detailed below.
func (CapacityProviderAutoScalingGroupProviderOutput) ManagedTerminationProtection ¶
func (o CapacityProviderAutoScalingGroupProviderOutput) ManagedTerminationProtection() pulumi.StringPtrOutput
- Enables or disables container-aware termination of instances in the auto scaling group when scale-in happens. Valid values are `ENABLED` and `DISABLED`.
func (CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderOutput ¶
func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderOutput() CapacityProviderAutoScalingGroupProviderOutput
func (CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderOutputWithContext ¶
func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderOutput
func (CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutput ¶
func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput
func (CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext ¶
func (o CapacityProviderAutoScalingGroupProviderOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput
type CapacityProviderAutoScalingGroupProviderPtrInput ¶
type CapacityProviderAutoScalingGroupProviderPtrInput interface { pulumi.Input ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput }
CapacityProviderAutoScalingGroupProviderPtrInput is an input type that accepts CapacityProviderAutoScalingGroupProviderArgs, CapacityProviderAutoScalingGroupProviderPtr and CapacityProviderAutoScalingGroupProviderPtrOutput values. You can construct a concrete instance of `CapacityProviderAutoScalingGroupProviderPtrInput` via:
CapacityProviderAutoScalingGroupProviderArgs{...} or: nil
func CapacityProviderAutoScalingGroupProviderPtr ¶
func CapacityProviderAutoScalingGroupProviderPtr(v *CapacityProviderAutoScalingGroupProviderArgs) CapacityProviderAutoScalingGroupProviderPtrInput
type CapacityProviderAutoScalingGroupProviderPtrOutput ¶
type CapacityProviderAutoScalingGroupProviderPtrOutput struct{ *pulumi.OutputState }
func (CapacityProviderAutoScalingGroupProviderPtrOutput) AutoScalingGroupArn ¶
func (o CapacityProviderAutoScalingGroupProviderPtrOutput) AutoScalingGroupArn() pulumi.StringPtrOutput
- ARN of the associated auto scaling group.
func (CapacityProviderAutoScalingGroupProviderPtrOutput) ElementType ¶
func (CapacityProviderAutoScalingGroupProviderPtrOutput) ElementType() reflect.Type
func (CapacityProviderAutoScalingGroupProviderPtrOutput) ManagedScaling ¶
func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ManagedScaling() CapacityProviderAutoScalingGroupProviderManagedScalingPtrOutput
- Configuration block defining the parameters of the auto scaling. Detailed below.
func (CapacityProviderAutoScalingGroupProviderPtrOutput) ManagedTerminationProtection ¶
func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ManagedTerminationProtection() pulumi.StringPtrOutput
- Enables or disables container-aware termination of instances in the auto scaling group when scale-in happens. Valid values are `ENABLED` and `DISABLED`.
func (CapacityProviderAutoScalingGroupProviderPtrOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutput ¶
func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutput() CapacityProviderAutoScalingGroupProviderPtrOutput
func (CapacityProviderAutoScalingGroupProviderPtrOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext ¶
func (o CapacityProviderAutoScalingGroupProviderPtrOutput) ToCapacityProviderAutoScalingGroupProviderPtrOutputWithContext(ctx context.Context) CapacityProviderAutoScalingGroupProviderPtrOutput
type CapacityProviderInput ¶
type CapacityProviderInput interface { pulumi.Input ToCapacityProviderOutput() CapacityProviderOutput ToCapacityProviderOutputWithContext(ctx context.Context) CapacityProviderOutput }
type CapacityProviderMap ¶
type CapacityProviderMap map[string]CapacityProviderInput
func (CapacityProviderMap) ElementType ¶
func (CapacityProviderMap) ElementType() reflect.Type
func (CapacityProviderMap) ToCapacityProviderMapOutput ¶
func (i CapacityProviderMap) ToCapacityProviderMapOutput() CapacityProviderMapOutput
func (CapacityProviderMap) ToCapacityProviderMapOutputWithContext ¶
func (i CapacityProviderMap) ToCapacityProviderMapOutputWithContext(ctx context.Context) CapacityProviderMapOutput
type CapacityProviderMapInput ¶
type CapacityProviderMapInput interface { pulumi.Input ToCapacityProviderMapOutput() CapacityProviderMapOutput ToCapacityProviderMapOutputWithContext(context.Context) CapacityProviderMapOutput }
CapacityProviderMapInput is an input type that accepts CapacityProviderMap and CapacityProviderMapOutput values. You can construct a concrete instance of `CapacityProviderMapInput` via:
CapacityProviderMap{ "key": CapacityProviderArgs{...} }
type CapacityProviderMapOutput ¶
type CapacityProviderMapOutput struct{ *pulumi.OutputState }
func (CapacityProviderMapOutput) ElementType ¶
func (CapacityProviderMapOutput) ElementType() reflect.Type
func (CapacityProviderMapOutput) MapIndex ¶
func (o CapacityProviderMapOutput) MapIndex(k pulumi.StringInput) CapacityProviderOutput
func (CapacityProviderMapOutput) ToCapacityProviderMapOutput ¶
func (o CapacityProviderMapOutput) ToCapacityProviderMapOutput() CapacityProviderMapOutput
func (CapacityProviderMapOutput) ToCapacityProviderMapOutputWithContext ¶
func (o CapacityProviderMapOutput) ToCapacityProviderMapOutputWithContext(ctx context.Context) CapacityProviderMapOutput
type CapacityProviderOutput ¶
type CapacityProviderOutput struct{ *pulumi.OutputState }
func (CapacityProviderOutput) Arn ¶ added in v5.4.0
func (o CapacityProviderOutput) Arn() pulumi.StringOutput
ARN that identifies the capacity provider.
func (CapacityProviderOutput) AutoScalingGroupProvider ¶ added in v5.4.0
func (o CapacityProviderOutput) AutoScalingGroupProvider() CapacityProviderAutoScalingGroupProviderOutput
Configuration block for the provider for the ECS auto scaling group. Detailed below.
func (CapacityProviderOutput) ElementType ¶
func (CapacityProviderOutput) ElementType() reflect.Type
func (CapacityProviderOutput) Name ¶ added in v5.4.0
func (o CapacityProviderOutput) Name() pulumi.StringOutput
Name of the capacity provider.
func (CapacityProviderOutput) Tags ¶ added in v5.4.0
func (o CapacityProviderOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (CapacityProviderOutput) TagsAll ¶ added in v5.4.0
func (o CapacityProviderOutput) TagsAll() pulumi.StringMapOutput
Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (CapacityProviderOutput) ToCapacityProviderOutput ¶
func (o CapacityProviderOutput) ToCapacityProviderOutput() CapacityProviderOutput
func (CapacityProviderOutput) ToCapacityProviderOutputWithContext ¶
func (o CapacityProviderOutput) ToCapacityProviderOutputWithContext(ctx context.Context) CapacityProviderOutput
type CapacityProviderState ¶
type CapacityProviderState struct { // ARN that identifies the capacity provider. Arn pulumi.StringPtrInput // Configuration block for the provider for the ECS auto scaling group. Detailed below. AutoScalingGroupProvider CapacityProviderAutoScalingGroupProviderPtrInput // Name of the capacity provider. Name pulumi.StringPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput }
func (CapacityProviderState) ElementType ¶
func (CapacityProviderState) ElementType() reflect.Type
type Cluster ¶
type Cluster struct { pulumi.CustomResourceState // ARN that identifies the cluster. Arn pulumi.StringOutput `pulumi:"arn"` // List of short names of one or more capacity providers to associate with the cluster. Valid values also include `FARGATE` and `FARGATE_SPOT`. // // Deprecated: Use the aws_ecs_cluster_capacity_providers resource instead CapacityProviders pulumi.StringArrayOutput `pulumi:"capacityProviders"` // The execute command configuration for the cluster. Detailed below. Configuration ClusterConfigurationPtrOutput `pulumi:"configuration"` // Configuration block for capacity provider strategy to use by default for the cluster. Can be one or more. Detailed below. // // Deprecated: Use the aws_ecs_cluster_capacity_providers resource instead DefaultCapacityProviderStrategies ClusterDefaultCapacityProviderStrategyArrayOutput `pulumi:"defaultCapacityProviderStrategies"` // Name of the setting to manage. Valid values: `containerInsights`. Name pulumi.StringOutput `pulumi:"name"` // Configuration block(s) with cluster settings. For example, this can be used to enable CloudWatch Container Insights for a cluster. Detailed below. Settings ClusterSettingArrayOutput `pulumi:"settings"` // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides an ECS cluster.
> **NOTE on Clusters and Cluster Capacity Providers:** this provider provides both a standalone `ecs.ClusterCapacityProviders` resource, as well as allowing the capacity providers and default strategies to be managed in-line by the `ecs.Cluster` resource. You cannot use a Cluster with in-line capacity providers in conjunction with the Capacity Providers resource, nor use more than one Capacity Providers resource with a single Cluster, as doing so will cause a conflict and will lead to mutual overwrites.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewCluster(ctx, "foo", &ecs.ClusterArgs{ Settings: ecs.ClusterSettingArray{ &ecs.ClusterSettingArgs{ Name: pulumi.String("containerInsights"), Value: pulumi.String("enabled"), }, }, }) if err != nil { return err } return nil }) }
``` ### Example with Log Configuration
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/kms" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleKey, err := kms.NewKey(ctx, "exampleKey", &kms.KeyArgs{ Description: pulumi.String("example"), DeletionWindowInDays: pulumi.Int(7), }) if err != nil { return err } exampleLogGroup, err := cloudwatch.NewLogGroup(ctx, "exampleLogGroup", nil) if err != nil { return err } _, err = ecs.NewCluster(ctx, "test", &ecs.ClusterArgs{ Configuration: &ecs.ClusterConfigurationArgs{ ExecuteCommandConfiguration: &ecs.ClusterConfigurationExecuteCommandConfigurationArgs{ KmsKeyId: exampleKey.Arn, Logging: pulumi.String("OVERRIDE"), LogConfiguration: &ecs.ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs{ CloudWatchEncryptionEnabled: pulumi.Bool(true), CloudWatchLogGroupName: exampleLogGroup.Name, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Example with Capacity Providers
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleCluster, err := ecs.NewCluster(ctx, "exampleCluster", nil) if err != nil { return err } exampleCapacityProvider, err := ecs.NewCapacityProvider(ctx, "exampleCapacityProvider", &ecs.CapacityProviderArgs{ AutoScalingGroupProvider: &ecs.CapacityProviderAutoScalingGroupProviderArgs{ AutoScalingGroupArn: pulumi.Any(aws_autoscaling_group.Example.Arn), }, }) if err != nil { return err } _, err = ecs.NewClusterCapacityProviders(ctx, "exampleClusterCapacityProviders", &ecs.ClusterCapacityProvidersArgs{ ClusterName: exampleCluster.Name, CapacityProviders: pulumi.StringArray{ exampleCapacityProvider.Name, }, DefaultCapacityProviderStrategies: ecs.ClusterCapacityProvidersDefaultCapacityProviderStrategyArray{ &ecs.ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs{ Base: pulumi.Int(1), Weight: pulumi.Int(100), CapacityProvider: exampleCapacityProvider.Name, }, }, }) if err != nil { return err } return nil }) }
```
## Import
ECS clusters can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:ecs/cluster:Cluster stateless stateless-app
```
func GetCluster ¶
func GetCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)
GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCluster ¶
func NewCluster(ctx *pulumi.Context, name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)
NewCluster registers a new resource with the given unique name, arguments, and options.
func (*Cluster) ElementType ¶
func (*Cluster) ToClusterOutput ¶
func (i *Cluster) ToClusterOutput() ClusterOutput
func (*Cluster) ToClusterOutputWithContext ¶
func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
type ClusterArgs ¶
type ClusterArgs struct { // List of short names of one or more capacity providers to associate with the cluster. Valid values also include `FARGATE` and `FARGATE_SPOT`. // // Deprecated: Use the aws_ecs_cluster_capacity_providers resource instead CapacityProviders pulumi.StringArrayInput // The execute command configuration for the cluster. Detailed below. Configuration ClusterConfigurationPtrInput // Configuration block for capacity provider strategy to use by default for the cluster. Can be one or more. Detailed below. // // Deprecated: Use the aws_ecs_cluster_capacity_providers resource instead DefaultCapacityProviderStrategies ClusterDefaultCapacityProviderStrategyArrayInput // Name of the setting to manage. Valid values: `containerInsights`. Name pulumi.StringPtrInput // Configuration block(s) with cluster settings. For example, this can be used to enable CloudWatch Container Insights for a cluster. Detailed below. Settings ClusterSettingArrayInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Cluster resource.
func (ClusterArgs) ElementType ¶
func (ClusterArgs) ElementType() reflect.Type
type ClusterArray ¶
type ClusterArray []ClusterInput
func (ClusterArray) ElementType ¶
func (ClusterArray) ElementType() reflect.Type
func (ClusterArray) ToClusterArrayOutput ¶
func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArray) ToClusterArrayOutputWithContext ¶
func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterArrayInput ¶
type ClusterArrayInput interface { pulumi.Input ToClusterArrayOutput() ClusterArrayOutput ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput }
ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:
ClusterArray{ ClusterArgs{...} }
type ClusterArrayOutput ¶
type ClusterArrayOutput struct{ *pulumi.OutputState }
func (ClusterArrayOutput) ElementType ¶
func (ClusterArrayOutput) ElementType() reflect.Type
func (ClusterArrayOutput) Index ¶
func (o ClusterArrayOutput) Index(i pulumi.IntInput) ClusterOutput
func (ClusterArrayOutput) ToClusterArrayOutput ¶
func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArrayOutput) ToClusterArrayOutputWithContext ¶
func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterCapacityProviders ¶
type ClusterCapacityProviders struct { pulumi.CustomResourceState // Set of names of one or more capacity providers to associate with the cluster. Valid values also include `FARGATE` and `FARGATE_SPOT`. CapacityProviders pulumi.StringArrayOutput `pulumi:"capacityProviders"` // Name of the ECS cluster to manage capacity providers for. ClusterName pulumi.StringOutput `pulumi:"clusterName"` // Set of capacity provider strategies to use by default for the cluster. Detailed below. DefaultCapacityProviderStrategies ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput `pulumi:"defaultCapacityProviderStrategies"` }
Manages the capacity providers of an ECS Cluster.
More information about capacity providers can be found in the [ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-capacity-providers.html).
> **NOTE on Clusters and Cluster Capacity Providers:** The provider provides both a standalone `ecs.ClusterCapacityProviders` resource, as well as allowing the capacity providers and default strategies to be managed in-line by the `ecs.Cluster` resource. You cannot use a Cluster with in-line capacity providers in conjunction with the Capacity Providers resource, nor use more than one Capacity Providers resource with a single Cluster, as doing so will cause a conflict and will lead to mutual overwrites.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleCluster, err := ecs.NewCluster(ctx, "exampleCluster", nil) if err != nil { return err } _, err = ecs.NewClusterCapacityProviders(ctx, "exampleClusterCapacityProviders", &ecs.ClusterCapacityProvidersArgs{ ClusterName: exampleCluster.Name, CapacityProviders: pulumi.StringArray{ pulumi.String("FARGATE"), }, DefaultCapacityProviderStrategies: ecs.ClusterCapacityProvidersDefaultCapacityProviderStrategyArray{ &ecs.ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs{ Base: pulumi.Int(1), Weight: pulumi.Int(100), CapacityProvider: pulumi.String("FARGATE"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
ECS cluster capacity providers can be imported using the `cluster_name` attribute. For example
```sh
$ pulumi import aws:ecs/clusterCapacityProviders:ClusterCapacityProviders example my-cluster
```
func GetClusterCapacityProviders ¶
func GetClusterCapacityProviders(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterCapacityProvidersState, opts ...pulumi.ResourceOption) (*ClusterCapacityProviders, error)
GetClusterCapacityProviders gets an existing ClusterCapacityProviders resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewClusterCapacityProviders ¶
func NewClusterCapacityProviders(ctx *pulumi.Context, name string, args *ClusterCapacityProvidersArgs, opts ...pulumi.ResourceOption) (*ClusterCapacityProviders, error)
NewClusterCapacityProviders registers a new resource with the given unique name, arguments, and options.
func (*ClusterCapacityProviders) ElementType ¶
func (*ClusterCapacityProviders) ElementType() reflect.Type
func (*ClusterCapacityProviders) ToClusterCapacityProvidersOutput ¶
func (i *ClusterCapacityProviders) ToClusterCapacityProvidersOutput() ClusterCapacityProvidersOutput
func (*ClusterCapacityProviders) ToClusterCapacityProvidersOutputWithContext ¶
func (i *ClusterCapacityProviders) ToClusterCapacityProvidersOutputWithContext(ctx context.Context) ClusterCapacityProvidersOutput
type ClusterCapacityProvidersArgs ¶
type ClusterCapacityProvidersArgs struct { // Set of names of one or more capacity providers to associate with the cluster. Valid values also include `FARGATE` and `FARGATE_SPOT`. CapacityProviders pulumi.StringArrayInput // Name of the ECS cluster to manage capacity providers for. ClusterName pulumi.StringInput // Set of capacity provider strategies to use by default for the cluster. Detailed below. DefaultCapacityProviderStrategies ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayInput }
The set of arguments for constructing a ClusterCapacityProviders resource.
func (ClusterCapacityProvidersArgs) ElementType ¶
func (ClusterCapacityProvidersArgs) ElementType() reflect.Type
type ClusterCapacityProvidersArray ¶
type ClusterCapacityProvidersArray []ClusterCapacityProvidersInput
func (ClusterCapacityProvidersArray) ElementType ¶
func (ClusterCapacityProvidersArray) ElementType() reflect.Type
func (ClusterCapacityProvidersArray) ToClusterCapacityProvidersArrayOutput ¶
func (i ClusterCapacityProvidersArray) ToClusterCapacityProvidersArrayOutput() ClusterCapacityProvidersArrayOutput
func (ClusterCapacityProvidersArray) ToClusterCapacityProvidersArrayOutputWithContext ¶
func (i ClusterCapacityProvidersArray) ToClusterCapacityProvidersArrayOutputWithContext(ctx context.Context) ClusterCapacityProvidersArrayOutput
type ClusterCapacityProvidersArrayInput ¶
type ClusterCapacityProvidersArrayInput interface { pulumi.Input ToClusterCapacityProvidersArrayOutput() ClusterCapacityProvidersArrayOutput ToClusterCapacityProvidersArrayOutputWithContext(context.Context) ClusterCapacityProvidersArrayOutput }
ClusterCapacityProvidersArrayInput is an input type that accepts ClusterCapacityProvidersArray and ClusterCapacityProvidersArrayOutput values. You can construct a concrete instance of `ClusterCapacityProvidersArrayInput` via:
ClusterCapacityProvidersArray{ ClusterCapacityProvidersArgs{...} }
type ClusterCapacityProvidersArrayOutput ¶
type ClusterCapacityProvidersArrayOutput struct{ *pulumi.OutputState }
func (ClusterCapacityProvidersArrayOutput) ElementType ¶
func (ClusterCapacityProvidersArrayOutput) ElementType() reflect.Type
func (ClusterCapacityProvidersArrayOutput) Index ¶
func (o ClusterCapacityProvidersArrayOutput) Index(i pulumi.IntInput) ClusterCapacityProvidersOutput
func (ClusterCapacityProvidersArrayOutput) ToClusterCapacityProvidersArrayOutput ¶
func (o ClusterCapacityProvidersArrayOutput) ToClusterCapacityProvidersArrayOutput() ClusterCapacityProvidersArrayOutput
func (ClusterCapacityProvidersArrayOutput) ToClusterCapacityProvidersArrayOutputWithContext ¶
func (o ClusterCapacityProvidersArrayOutput) ToClusterCapacityProvidersArrayOutputWithContext(ctx context.Context) ClusterCapacityProvidersArrayOutput
type ClusterCapacityProvidersDefaultCapacityProviderStrategy ¶
type ClusterCapacityProvidersDefaultCapacityProviderStrategy struct { // The number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. Defaults to `0`. Base *int `pulumi:"base"` // Name of the capacity provider. CapacityProvider string `pulumi:"capacityProvider"` // The relative percentage of the total number of launched tasks that should use the specified capacity provider. The `weight` value is taken into consideration after the `base` count of tasks has been satisfied. Defaults to `0`. Weight *int `pulumi:"weight"` }
type ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs ¶
type ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs struct { // The number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. Defaults to `0`. Base pulumi.IntPtrInput `pulumi:"base"` // Name of the capacity provider. CapacityProvider pulumi.StringInput `pulumi:"capacityProvider"` // The relative percentage of the total number of launched tasks that should use the specified capacity provider. The `weight` value is taken into consideration after the `base` count of tasks has been satisfied. Defaults to `0`. Weight pulumi.IntPtrInput `pulumi:"weight"` }
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs) ElementType ¶
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs) ElementType() reflect.Type
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs) ToClusterCapacityProvidersDefaultCapacityProviderStrategyOutput ¶
func (i ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs) ToClusterCapacityProvidersDefaultCapacityProviderStrategyOutput() ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs) ToClusterCapacityProvidersDefaultCapacityProviderStrategyOutputWithContext ¶
func (i ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs) ToClusterCapacityProvidersDefaultCapacityProviderStrategyOutputWithContext(ctx context.Context) ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput
type ClusterCapacityProvidersDefaultCapacityProviderStrategyArray ¶
type ClusterCapacityProvidersDefaultCapacityProviderStrategyArray []ClusterCapacityProvidersDefaultCapacityProviderStrategyInput
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyArray) ElementType ¶
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyArray) ElementType() reflect.Type
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyArray) ToClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput ¶
func (i ClusterCapacityProvidersDefaultCapacityProviderStrategyArray) ToClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput() ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyArray) ToClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutputWithContext ¶
func (i ClusterCapacityProvidersDefaultCapacityProviderStrategyArray) ToClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput
type ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayInput ¶
type ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayInput interface { pulumi.Input ToClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput() ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput ToClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutputWithContext(context.Context) ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput }
ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayInput is an input type that accepts ClusterCapacityProvidersDefaultCapacityProviderStrategyArray and ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput values. You can construct a concrete instance of `ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayInput` via:
ClusterCapacityProvidersDefaultCapacityProviderStrategyArray{ ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs{...} }
type ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput ¶
type ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput struct{ *pulumi.OutputState }
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput) ElementType ¶
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput) ElementType() reflect.Type
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput) ToClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput ¶
func (o ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput) ToClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput() ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput) ToClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutputWithContext ¶
func (o ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput) ToClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput
type ClusterCapacityProvidersDefaultCapacityProviderStrategyInput ¶
type ClusterCapacityProvidersDefaultCapacityProviderStrategyInput interface { pulumi.Input ToClusterCapacityProvidersDefaultCapacityProviderStrategyOutput() ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput ToClusterCapacityProvidersDefaultCapacityProviderStrategyOutputWithContext(context.Context) ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput }
ClusterCapacityProvidersDefaultCapacityProviderStrategyInput is an input type that accepts ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs and ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput values. You can construct a concrete instance of `ClusterCapacityProvidersDefaultCapacityProviderStrategyInput` via:
ClusterCapacityProvidersDefaultCapacityProviderStrategyArgs{...}
type ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput ¶
type ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput struct{ *pulumi.OutputState }
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) Base ¶
The number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. Defaults to `0`.
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) CapacityProvider ¶
func (o ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) CapacityProvider() pulumi.StringOutput
Name of the capacity provider.
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) ElementType ¶
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) ElementType() reflect.Type
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) ToClusterCapacityProvidersDefaultCapacityProviderStrategyOutput ¶
func (o ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) ToClusterCapacityProvidersDefaultCapacityProviderStrategyOutput() ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) ToClusterCapacityProvidersDefaultCapacityProviderStrategyOutputWithContext ¶
func (o ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) ToClusterCapacityProvidersDefaultCapacityProviderStrategyOutputWithContext(ctx context.Context) ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput
func (ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) Weight ¶
func (o ClusterCapacityProvidersDefaultCapacityProviderStrategyOutput) Weight() pulumi.IntPtrOutput
The relative percentage of the total number of launched tasks that should use the specified capacity provider. The `weight` value is taken into consideration after the `base` count of tasks has been satisfied. Defaults to `0`.
type ClusterCapacityProvidersInput ¶
type ClusterCapacityProvidersInput interface { pulumi.Input ToClusterCapacityProvidersOutput() ClusterCapacityProvidersOutput ToClusterCapacityProvidersOutputWithContext(ctx context.Context) ClusterCapacityProvidersOutput }
type ClusterCapacityProvidersMap ¶
type ClusterCapacityProvidersMap map[string]ClusterCapacityProvidersInput
func (ClusterCapacityProvidersMap) ElementType ¶
func (ClusterCapacityProvidersMap) ElementType() reflect.Type
func (ClusterCapacityProvidersMap) ToClusterCapacityProvidersMapOutput ¶
func (i ClusterCapacityProvidersMap) ToClusterCapacityProvidersMapOutput() ClusterCapacityProvidersMapOutput
func (ClusterCapacityProvidersMap) ToClusterCapacityProvidersMapOutputWithContext ¶
func (i ClusterCapacityProvidersMap) ToClusterCapacityProvidersMapOutputWithContext(ctx context.Context) ClusterCapacityProvidersMapOutput
type ClusterCapacityProvidersMapInput ¶
type ClusterCapacityProvidersMapInput interface { pulumi.Input ToClusterCapacityProvidersMapOutput() ClusterCapacityProvidersMapOutput ToClusterCapacityProvidersMapOutputWithContext(context.Context) ClusterCapacityProvidersMapOutput }
ClusterCapacityProvidersMapInput is an input type that accepts ClusterCapacityProvidersMap and ClusterCapacityProvidersMapOutput values. You can construct a concrete instance of `ClusterCapacityProvidersMapInput` via:
ClusterCapacityProvidersMap{ "key": ClusterCapacityProvidersArgs{...} }
type ClusterCapacityProvidersMapOutput ¶
type ClusterCapacityProvidersMapOutput struct{ *pulumi.OutputState }
func (ClusterCapacityProvidersMapOutput) ElementType ¶
func (ClusterCapacityProvidersMapOutput) ElementType() reflect.Type
func (ClusterCapacityProvidersMapOutput) MapIndex ¶
func (o ClusterCapacityProvidersMapOutput) MapIndex(k pulumi.StringInput) ClusterCapacityProvidersOutput
func (ClusterCapacityProvidersMapOutput) ToClusterCapacityProvidersMapOutput ¶
func (o ClusterCapacityProvidersMapOutput) ToClusterCapacityProvidersMapOutput() ClusterCapacityProvidersMapOutput
func (ClusterCapacityProvidersMapOutput) ToClusterCapacityProvidersMapOutputWithContext ¶
func (o ClusterCapacityProvidersMapOutput) ToClusterCapacityProvidersMapOutputWithContext(ctx context.Context) ClusterCapacityProvidersMapOutput
type ClusterCapacityProvidersOutput ¶
type ClusterCapacityProvidersOutput struct{ *pulumi.OutputState }
func (ClusterCapacityProvidersOutput) CapacityProviders ¶ added in v5.4.0
func (o ClusterCapacityProvidersOutput) CapacityProviders() pulumi.StringArrayOutput
Set of names of one or more capacity providers to associate with the cluster. Valid values also include `FARGATE` and `FARGATE_SPOT`.
func (ClusterCapacityProvidersOutput) ClusterName ¶ added in v5.4.0
func (o ClusterCapacityProvidersOutput) ClusterName() pulumi.StringOutput
Name of the ECS cluster to manage capacity providers for.
func (ClusterCapacityProvidersOutput) DefaultCapacityProviderStrategies ¶ added in v5.4.0
func (o ClusterCapacityProvidersOutput) DefaultCapacityProviderStrategies() ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayOutput
Set of capacity provider strategies to use by default for the cluster. Detailed below.
func (ClusterCapacityProvidersOutput) ElementType ¶
func (ClusterCapacityProvidersOutput) ElementType() reflect.Type
func (ClusterCapacityProvidersOutput) ToClusterCapacityProvidersOutput ¶
func (o ClusterCapacityProvidersOutput) ToClusterCapacityProvidersOutput() ClusterCapacityProvidersOutput
func (ClusterCapacityProvidersOutput) ToClusterCapacityProvidersOutputWithContext ¶
func (o ClusterCapacityProvidersOutput) ToClusterCapacityProvidersOutputWithContext(ctx context.Context) ClusterCapacityProvidersOutput
type ClusterCapacityProvidersState ¶
type ClusterCapacityProvidersState struct { // Set of names of one or more capacity providers to associate with the cluster. Valid values also include `FARGATE` and `FARGATE_SPOT`. CapacityProviders pulumi.StringArrayInput // Name of the ECS cluster to manage capacity providers for. ClusterName pulumi.StringPtrInput // Set of capacity provider strategies to use by default for the cluster. Detailed below. DefaultCapacityProviderStrategies ClusterCapacityProvidersDefaultCapacityProviderStrategyArrayInput }
func (ClusterCapacityProvidersState) ElementType ¶
func (ClusterCapacityProvidersState) ElementType() reflect.Type
type ClusterConfiguration ¶
type ClusterConfiguration struct { // The details of the execute command configuration. Detailed below. ExecuteCommandConfiguration *ClusterConfigurationExecuteCommandConfiguration `pulumi:"executeCommandConfiguration"` }
type ClusterConfigurationArgs ¶
type ClusterConfigurationArgs struct { // The details of the execute command configuration. Detailed below. ExecuteCommandConfiguration ClusterConfigurationExecuteCommandConfigurationPtrInput `pulumi:"executeCommandConfiguration"` }
func (ClusterConfigurationArgs) ElementType ¶
func (ClusterConfigurationArgs) ElementType() reflect.Type
func (ClusterConfigurationArgs) ToClusterConfigurationOutput ¶
func (i ClusterConfigurationArgs) ToClusterConfigurationOutput() ClusterConfigurationOutput
func (ClusterConfigurationArgs) ToClusterConfigurationOutputWithContext ¶
func (i ClusterConfigurationArgs) ToClusterConfigurationOutputWithContext(ctx context.Context) ClusterConfigurationOutput
func (ClusterConfigurationArgs) ToClusterConfigurationPtrOutput ¶
func (i ClusterConfigurationArgs) ToClusterConfigurationPtrOutput() ClusterConfigurationPtrOutput
func (ClusterConfigurationArgs) ToClusterConfigurationPtrOutputWithContext ¶
func (i ClusterConfigurationArgs) ToClusterConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationPtrOutput
type ClusterConfigurationExecuteCommandConfiguration ¶
type ClusterConfigurationExecuteCommandConfiguration struct { // The AWS Key Management Service key ID to encrypt the data between the local client and the container. KmsKeyId *string `pulumi:"kmsKeyId"` // The log configuration for the results of the execute command actions Required when `logging` is `OVERRIDE`. Detailed below. LogConfiguration *ClusterConfigurationExecuteCommandConfigurationLogConfiguration `pulumi:"logConfiguration"` // The log setting to use for redirecting logs for your execute command results. Valid values are `NONE`, `DEFAULT`, and `OVERRIDE`. Logging *string `pulumi:"logging"` }
type ClusterConfigurationExecuteCommandConfigurationArgs ¶
type ClusterConfigurationExecuteCommandConfigurationArgs struct { // The AWS Key Management Service key ID to encrypt the data between the local client and the container. KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"` // The log configuration for the results of the execute command actions Required when `logging` is `OVERRIDE`. Detailed below. LogConfiguration ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrInput `pulumi:"logConfiguration"` // The log setting to use for redirecting logs for your execute command results. Valid values are `NONE`, `DEFAULT`, and `OVERRIDE`. Logging pulumi.StringPtrInput `pulumi:"logging"` }
func (ClusterConfigurationExecuteCommandConfigurationArgs) ElementType ¶
func (ClusterConfigurationExecuteCommandConfigurationArgs) ElementType() reflect.Type
func (ClusterConfigurationExecuteCommandConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationOutput ¶
func (i ClusterConfigurationExecuteCommandConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationOutput() ClusterConfigurationExecuteCommandConfigurationOutput
func (ClusterConfigurationExecuteCommandConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationOutputWithContext ¶
func (i ClusterConfigurationExecuteCommandConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationOutput
func (ClusterConfigurationExecuteCommandConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationPtrOutput ¶
func (i ClusterConfigurationExecuteCommandConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationPtrOutput() ClusterConfigurationExecuteCommandConfigurationPtrOutput
func (ClusterConfigurationExecuteCommandConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationPtrOutputWithContext ¶
func (i ClusterConfigurationExecuteCommandConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationPtrOutput
type ClusterConfigurationExecuteCommandConfigurationInput ¶
type ClusterConfigurationExecuteCommandConfigurationInput interface { pulumi.Input ToClusterConfigurationExecuteCommandConfigurationOutput() ClusterConfigurationExecuteCommandConfigurationOutput ToClusterConfigurationExecuteCommandConfigurationOutputWithContext(context.Context) ClusterConfigurationExecuteCommandConfigurationOutput }
ClusterConfigurationExecuteCommandConfigurationInput is an input type that accepts ClusterConfigurationExecuteCommandConfigurationArgs and ClusterConfigurationExecuteCommandConfigurationOutput values. You can construct a concrete instance of `ClusterConfigurationExecuteCommandConfigurationInput` via:
ClusterConfigurationExecuteCommandConfigurationArgs{...}
type ClusterConfigurationExecuteCommandConfigurationLogConfiguration ¶
type ClusterConfigurationExecuteCommandConfigurationLogConfiguration struct { // Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled. CloudWatchEncryptionEnabled *bool `pulumi:"cloudWatchEncryptionEnabled"` // The name of the CloudWatch log group to send logs to. CloudWatchLogGroupName *string `pulumi:"cloudWatchLogGroupName"` // Whether or not to enable encryption on the logs sent to S3. If not specified, encryption will be disabled. S3BucketEncryptionEnabled *bool `pulumi:"s3BucketEncryptionEnabled"` // The name of the S3 bucket to send logs to. S3BucketName *string `pulumi:"s3BucketName"` // An optional folder in the S3 bucket to place logs in. S3KeyPrefix *string `pulumi:"s3KeyPrefix"` }
type ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs ¶
type ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs struct { // Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled. CloudWatchEncryptionEnabled pulumi.BoolPtrInput `pulumi:"cloudWatchEncryptionEnabled"` // The name of the CloudWatch log group to send logs to. CloudWatchLogGroupName pulumi.StringPtrInput `pulumi:"cloudWatchLogGroupName"` // Whether or not to enable encryption on the logs sent to S3. If not specified, encryption will be disabled. S3BucketEncryptionEnabled pulumi.BoolPtrInput `pulumi:"s3BucketEncryptionEnabled"` // The name of the S3 bucket to send logs to. S3BucketName pulumi.StringPtrInput `pulumi:"s3BucketName"` // An optional folder in the S3 bucket to place logs in. S3KeyPrefix pulumi.StringPtrInput `pulumi:"s3KeyPrefix"` }
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs) ElementType ¶
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs) ElementType() reflect.Type
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput ¶
func (i ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput() ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationOutputWithContext ¶
func (i ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput ¶
func (i ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput() ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutputWithContext ¶
func (i ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
type ClusterConfigurationExecuteCommandConfigurationLogConfigurationInput ¶
type ClusterConfigurationExecuteCommandConfigurationLogConfigurationInput interface { pulumi.Input ToClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput() ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput ToClusterConfigurationExecuteCommandConfigurationLogConfigurationOutputWithContext(context.Context) ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput }
ClusterConfigurationExecuteCommandConfigurationLogConfigurationInput is an input type that accepts ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs and ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput values. You can construct a concrete instance of `ClusterConfigurationExecuteCommandConfigurationLogConfigurationInput` via:
ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs{...}
type ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput ¶
type ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput struct{ *pulumi.OutputState }
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) CloudWatchEncryptionEnabled ¶
func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) CloudWatchEncryptionEnabled() pulumi.BoolPtrOutput
Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) CloudWatchLogGroupName ¶
func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) CloudWatchLogGroupName() pulumi.StringPtrOutput
The name of the CloudWatch log group to send logs to.
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) ElementType ¶
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) ElementType() reflect.Type
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) S3BucketEncryptionEnabled ¶
func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) S3BucketEncryptionEnabled() pulumi.BoolPtrOutput
Whether or not to enable encryption on the logs sent to S3. If not specified, encryption will be disabled.
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) S3BucketName ¶
func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) S3BucketName() pulumi.StringPtrOutput
The name of the S3 bucket to send logs to.
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) S3KeyPrefix ¶
func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) S3KeyPrefix() pulumi.StringPtrOutput
An optional folder in the S3 bucket to place logs in.
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput ¶
func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput() ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationOutputWithContext ¶
func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput ¶
func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput() ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutputWithContext ¶
func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
type ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrInput ¶
type ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrInput interface { pulumi.Input ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput() ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutputWithContext(context.Context) ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput }
ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrInput is an input type that accepts ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs, ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtr and ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput values. You can construct a concrete instance of `ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrInput` via:
ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs{...} or: nil
func ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtr ¶
func ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtr(v *ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs) ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrInput
type ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput ¶
type ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput struct{ *pulumi.OutputState }
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) CloudWatchEncryptionEnabled ¶
func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) CloudWatchEncryptionEnabled() pulumi.BoolPtrOutput
Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) CloudWatchLogGroupName ¶
func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) CloudWatchLogGroupName() pulumi.StringPtrOutput
The name of the CloudWatch log group to send logs to.
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) ElementType ¶
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) ElementType() reflect.Type
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) S3BucketEncryptionEnabled ¶
func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) S3BucketEncryptionEnabled() pulumi.BoolPtrOutput
Whether or not to enable encryption on the logs sent to S3. If not specified, encryption will be disabled.
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) S3BucketName ¶
func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) S3BucketName() pulumi.StringPtrOutput
The name of the S3 bucket to send logs to.
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) S3KeyPrefix ¶
func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) S3KeyPrefix() pulumi.StringPtrOutput
An optional folder in the S3 bucket to place logs in.
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput ¶
func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput() ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
func (ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutputWithContext ¶
func (o ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput) ToClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
type ClusterConfigurationExecuteCommandConfigurationOutput ¶
type ClusterConfigurationExecuteCommandConfigurationOutput struct{ *pulumi.OutputState }
func (ClusterConfigurationExecuteCommandConfigurationOutput) ElementType ¶
func (ClusterConfigurationExecuteCommandConfigurationOutput) ElementType() reflect.Type
func (ClusterConfigurationExecuteCommandConfigurationOutput) KmsKeyId ¶
func (o ClusterConfigurationExecuteCommandConfigurationOutput) KmsKeyId() pulumi.StringPtrOutput
The AWS Key Management Service key ID to encrypt the data between the local client and the container.
func (ClusterConfigurationExecuteCommandConfigurationOutput) LogConfiguration ¶
func (o ClusterConfigurationExecuteCommandConfigurationOutput) LogConfiguration() ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
The log configuration for the results of the execute command actions Required when `logging` is `OVERRIDE`. Detailed below.
func (ClusterConfigurationExecuteCommandConfigurationOutput) Logging ¶
func (o ClusterConfigurationExecuteCommandConfigurationOutput) Logging() pulumi.StringPtrOutput
The log setting to use for redirecting logs for your execute command results. Valid values are `NONE`, `DEFAULT`, and `OVERRIDE`.
func (ClusterConfigurationExecuteCommandConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationOutput ¶
func (o ClusterConfigurationExecuteCommandConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationOutput() ClusterConfigurationExecuteCommandConfigurationOutput
func (ClusterConfigurationExecuteCommandConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationOutputWithContext ¶
func (o ClusterConfigurationExecuteCommandConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationOutput
func (ClusterConfigurationExecuteCommandConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationPtrOutput ¶
func (o ClusterConfigurationExecuteCommandConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationPtrOutput() ClusterConfigurationExecuteCommandConfigurationPtrOutput
func (ClusterConfigurationExecuteCommandConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationPtrOutputWithContext ¶
func (o ClusterConfigurationExecuteCommandConfigurationOutput) ToClusterConfigurationExecuteCommandConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationPtrOutput
type ClusterConfigurationExecuteCommandConfigurationPtrInput ¶
type ClusterConfigurationExecuteCommandConfigurationPtrInput interface { pulumi.Input ToClusterConfigurationExecuteCommandConfigurationPtrOutput() ClusterConfigurationExecuteCommandConfigurationPtrOutput ToClusterConfigurationExecuteCommandConfigurationPtrOutputWithContext(context.Context) ClusterConfigurationExecuteCommandConfigurationPtrOutput }
ClusterConfigurationExecuteCommandConfigurationPtrInput is an input type that accepts ClusterConfigurationExecuteCommandConfigurationArgs, ClusterConfigurationExecuteCommandConfigurationPtr and ClusterConfigurationExecuteCommandConfigurationPtrOutput values. You can construct a concrete instance of `ClusterConfigurationExecuteCommandConfigurationPtrInput` via:
ClusterConfigurationExecuteCommandConfigurationArgs{...} or: nil
func ClusterConfigurationExecuteCommandConfigurationPtr ¶
func ClusterConfigurationExecuteCommandConfigurationPtr(v *ClusterConfigurationExecuteCommandConfigurationArgs) ClusterConfigurationExecuteCommandConfigurationPtrInput
type ClusterConfigurationExecuteCommandConfigurationPtrOutput ¶
type ClusterConfigurationExecuteCommandConfigurationPtrOutput struct{ *pulumi.OutputState }
func (ClusterConfigurationExecuteCommandConfigurationPtrOutput) ElementType ¶
func (ClusterConfigurationExecuteCommandConfigurationPtrOutput) ElementType() reflect.Type
func (ClusterConfigurationExecuteCommandConfigurationPtrOutput) KmsKeyId ¶
func (o ClusterConfigurationExecuteCommandConfigurationPtrOutput) KmsKeyId() pulumi.StringPtrOutput
The AWS Key Management Service key ID to encrypt the data between the local client and the container.
func (ClusterConfigurationExecuteCommandConfigurationPtrOutput) LogConfiguration ¶
func (o ClusterConfigurationExecuteCommandConfigurationPtrOutput) LogConfiguration() ClusterConfigurationExecuteCommandConfigurationLogConfigurationPtrOutput
The log configuration for the results of the execute command actions Required when `logging` is `OVERRIDE`. Detailed below.
func (ClusterConfigurationExecuteCommandConfigurationPtrOutput) Logging ¶
func (o ClusterConfigurationExecuteCommandConfigurationPtrOutput) Logging() pulumi.StringPtrOutput
The log setting to use for redirecting logs for your execute command results. Valid values are `NONE`, `DEFAULT`, and `OVERRIDE`.
func (ClusterConfigurationExecuteCommandConfigurationPtrOutput) ToClusterConfigurationExecuteCommandConfigurationPtrOutput ¶
func (o ClusterConfigurationExecuteCommandConfigurationPtrOutput) ToClusterConfigurationExecuteCommandConfigurationPtrOutput() ClusterConfigurationExecuteCommandConfigurationPtrOutput
func (ClusterConfigurationExecuteCommandConfigurationPtrOutput) ToClusterConfigurationExecuteCommandConfigurationPtrOutputWithContext ¶
func (o ClusterConfigurationExecuteCommandConfigurationPtrOutput) ToClusterConfigurationExecuteCommandConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationExecuteCommandConfigurationPtrOutput
type ClusterConfigurationInput ¶
type ClusterConfigurationInput interface { pulumi.Input ToClusterConfigurationOutput() ClusterConfigurationOutput ToClusterConfigurationOutputWithContext(context.Context) ClusterConfigurationOutput }
ClusterConfigurationInput is an input type that accepts ClusterConfigurationArgs and ClusterConfigurationOutput values. You can construct a concrete instance of `ClusterConfigurationInput` via:
ClusterConfigurationArgs{...}
type ClusterConfigurationOutput ¶
type ClusterConfigurationOutput struct{ *pulumi.OutputState }
func (ClusterConfigurationOutput) ElementType ¶
func (ClusterConfigurationOutput) ElementType() reflect.Type
func (ClusterConfigurationOutput) ExecuteCommandConfiguration ¶
func (o ClusterConfigurationOutput) ExecuteCommandConfiguration() ClusterConfigurationExecuteCommandConfigurationPtrOutput
The details of the execute command configuration. Detailed below.
func (ClusterConfigurationOutput) ToClusterConfigurationOutput ¶
func (o ClusterConfigurationOutput) ToClusterConfigurationOutput() ClusterConfigurationOutput
func (ClusterConfigurationOutput) ToClusterConfigurationOutputWithContext ¶
func (o ClusterConfigurationOutput) ToClusterConfigurationOutputWithContext(ctx context.Context) ClusterConfigurationOutput
func (ClusterConfigurationOutput) ToClusterConfigurationPtrOutput ¶
func (o ClusterConfigurationOutput) ToClusterConfigurationPtrOutput() ClusterConfigurationPtrOutput
func (ClusterConfigurationOutput) ToClusterConfigurationPtrOutputWithContext ¶
func (o ClusterConfigurationOutput) ToClusterConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationPtrOutput
type ClusterConfigurationPtrInput ¶
type ClusterConfigurationPtrInput interface { pulumi.Input ToClusterConfigurationPtrOutput() ClusterConfigurationPtrOutput ToClusterConfigurationPtrOutputWithContext(context.Context) ClusterConfigurationPtrOutput }
ClusterConfigurationPtrInput is an input type that accepts ClusterConfigurationArgs, ClusterConfigurationPtr and ClusterConfigurationPtrOutput values. You can construct a concrete instance of `ClusterConfigurationPtrInput` via:
ClusterConfigurationArgs{...} or: nil
func ClusterConfigurationPtr ¶
func ClusterConfigurationPtr(v *ClusterConfigurationArgs) ClusterConfigurationPtrInput
type ClusterConfigurationPtrOutput ¶
type ClusterConfigurationPtrOutput struct{ *pulumi.OutputState }
func (ClusterConfigurationPtrOutput) Elem ¶
func (o ClusterConfigurationPtrOutput) Elem() ClusterConfigurationOutput
func (ClusterConfigurationPtrOutput) ElementType ¶
func (ClusterConfigurationPtrOutput) ElementType() reflect.Type
func (ClusterConfigurationPtrOutput) ExecuteCommandConfiguration ¶
func (o ClusterConfigurationPtrOutput) ExecuteCommandConfiguration() ClusterConfigurationExecuteCommandConfigurationPtrOutput
The details of the execute command configuration. Detailed below.
func (ClusterConfigurationPtrOutput) ToClusterConfigurationPtrOutput ¶
func (o ClusterConfigurationPtrOutput) ToClusterConfigurationPtrOutput() ClusterConfigurationPtrOutput
func (ClusterConfigurationPtrOutput) ToClusterConfigurationPtrOutputWithContext ¶
func (o ClusterConfigurationPtrOutput) ToClusterConfigurationPtrOutputWithContext(ctx context.Context) ClusterConfigurationPtrOutput
type ClusterDefaultCapacityProviderStrategy ¶
type ClusterDefaultCapacityProviderStrategy struct { // The number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. Base *int `pulumi:"base"` // The short name of the capacity provider. CapacityProvider string `pulumi:"capacityProvider"` // The relative percentage of the total number of launched tasks that should use the specified capacity provider. Weight *int `pulumi:"weight"` }
type ClusterDefaultCapacityProviderStrategyArgs ¶
type ClusterDefaultCapacityProviderStrategyArgs struct { // The number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. Base pulumi.IntPtrInput `pulumi:"base"` // The short name of the capacity provider. CapacityProvider pulumi.StringInput `pulumi:"capacityProvider"` // The relative percentage of the total number of launched tasks that should use the specified capacity provider. Weight pulumi.IntPtrInput `pulumi:"weight"` }
func (ClusterDefaultCapacityProviderStrategyArgs) ElementType ¶
func (ClusterDefaultCapacityProviderStrategyArgs) ElementType() reflect.Type
func (ClusterDefaultCapacityProviderStrategyArgs) ToClusterDefaultCapacityProviderStrategyOutput ¶
func (i ClusterDefaultCapacityProviderStrategyArgs) ToClusterDefaultCapacityProviderStrategyOutput() ClusterDefaultCapacityProviderStrategyOutput
func (ClusterDefaultCapacityProviderStrategyArgs) ToClusterDefaultCapacityProviderStrategyOutputWithContext ¶
func (i ClusterDefaultCapacityProviderStrategyArgs) ToClusterDefaultCapacityProviderStrategyOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyOutput
type ClusterDefaultCapacityProviderStrategyArray ¶
type ClusterDefaultCapacityProviderStrategyArray []ClusterDefaultCapacityProviderStrategyInput
func (ClusterDefaultCapacityProviderStrategyArray) ElementType ¶
func (ClusterDefaultCapacityProviderStrategyArray) ElementType() reflect.Type
func (ClusterDefaultCapacityProviderStrategyArray) ToClusterDefaultCapacityProviderStrategyArrayOutput ¶
func (i ClusterDefaultCapacityProviderStrategyArray) ToClusterDefaultCapacityProviderStrategyArrayOutput() ClusterDefaultCapacityProviderStrategyArrayOutput
func (ClusterDefaultCapacityProviderStrategyArray) ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext ¶
func (i ClusterDefaultCapacityProviderStrategyArray) ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyArrayOutput
type ClusterDefaultCapacityProviderStrategyArrayInput ¶
type ClusterDefaultCapacityProviderStrategyArrayInput interface { pulumi.Input ToClusterDefaultCapacityProviderStrategyArrayOutput() ClusterDefaultCapacityProviderStrategyArrayOutput ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext(context.Context) ClusterDefaultCapacityProviderStrategyArrayOutput }
ClusterDefaultCapacityProviderStrategyArrayInput is an input type that accepts ClusterDefaultCapacityProviderStrategyArray and ClusterDefaultCapacityProviderStrategyArrayOutput values. You can construct a concrete instance of `ClusterDefaultCapacityProviderStrategyArrayInput` via:
ClusterDefaultCapacityProviderStrategyArray{ ClusterDefaultCapacityProviderStrategyArgs{...} }
type ClusterDefaultCapacityProviderStrategyArrayOutput ¶
type ClusterDefaultCapacityProviderStrategyArrayOutput struct{ *pulumi.OutputState }
func (ClusterDefaultCapacityProviderStrategyArrayOutput) ElementType ¶
func (ClusterDefaultCapacityProviderStrategyArrayOutput) ElementType() reflect.Type
func (ClusterDefaultCapacityProviderStrategyArrayOutput) ToClusterDefaultCapacityProviderStrategyArrayOutput ¶
func (o ClusterDefaultCapacityProviderStrategyArrayOutput) ToClusterDefaultCapacityProviderStrategyArrayOutput() ClusterDefaultCapacityProviderStrategyArrayOutput
func (ClusterDefaultCapacityProviderStrategyArrayOutput) ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext ¶
func (o ClusterDefaultCapacityProviderStrategyArrayOutput) ToClusterDefaultCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyArrayOutput
type ClusterDefaultCapacityProviderStrategyInput ¶
type ClusterDefaultCapacityProviderStrategyInput interface { pulumi.Input ToClusterDefaultCapacityProviderStrategyOutput() ClusterDefaultCapacityProviderStrategyOutput ToClusterDefaultCapacityProviderStrategyOutputWithContext(context.Context) ClusterDefaultCapacityProviderStrategyOutput }
ClusterDefaultCapacityProviderStrategyInput is an input type that accepts ClusterDefaultCapacityProviderStrategyArgs and ClusterDefaultCapacityProviderStrategyOutput values. You can construct a concrete instance of `ClusterDefaultCapacityProviderStrategyInput` via:
ClusterDefaultCapacityProviderStrategyArgs{...}
type ClusterDefaultCapacityProviderStrategyOutput ¶
type ClusterDefaultCapacityProviderStrategyOutput struct{ *pulumi.OutputState }
func (ClusterDefaultCapacityProviderStrategyOutput) Base ¶
func (o ClusterDefaultCapacityProviderStrategyOutput) Base() pulumi.IntPtrOutput
The number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined.
func (ClusterDefaultCapacityProviderStrategyOutput) CapacityProvider ¶
func (o ClusterDefaultCapacityProviderStrategyOutput) CapacityProvider() pulumi.StringOutput
The short name of the capacity provider.
func (ClusterDefaultCapacityProviderStrategyOutput) ElementType ¶
func (ClusterDefaultCapacityProviderStrategyOutput) ElementType() reflect.Type
func (ClusterDefaultCapacityProviderStrategyOutput) ToClusterDefaultCapacityProviderStrategyOutput ¶
func (o ClusterDefaultCapacityProviderStrategyOutput) ToClusterDefaultCapacityProviderStrategyOutput() ClusterDefaultCapacityProviderStrategyOutput
func (ClusterDefaultCapacityProviderStrategyOutput) ToClusterDefaultCapacityProviderStrategyOutputWithContext ¶
func (o ClusterDefaultCapacityProviderStrategyOutput) ToClusterDefaultCapacityProviderStrategyOutputWithContext(ctx context.Context) ClusterDefaultCapacityProviderStrategyOutput
func (ClusterDefaultCapacityProviderStrategyOutput) Weight ¶
func (o ClusterDefaultCapacityProviderStrategyOutput) Weight() pulumi.IntPtrOutput
The relative percentage of the total number of launched tasks that should use the specified capacity provider.
type ClusterInput ¶
type ClusterInput interface { pulumi.Input ToClusterOutput() ClusterOutput ToClusterOutputWithContext(ctx context.Context) ClusterOutput }
type ClusterMap ¶
type ClusterMap map[string]ClusterInput
func (ClusterMap) ElementType ¶
func (ClusterMap) ElementType() reflect.Type
func (ClusterMap) ToClusterMapOutput ¶
func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput
func (ClusterMap) ToClusterMapOutputWithContext ¶
func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterMapInput ¶
type ClusterMapInput interface { pulumi.Input ToClusterMapOutput() ClusterMapOutput ToClusterMapOutputWithContext(context.Context) ClusterMapOutput }
ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:
ClusterMap{ "key": ClusterArgs{...} }
type ClusterMapOutput ¶
type ClusterMapOutput struct{ *pulumi.OutputState }
func (ClusterMapOutput) ElementType ¶
func (ClusterMapOutput) ElementType() reflect.Type
func (ClusterMapOutput) MapIndex ¶
func (o ClusterMapOutput) MapIndex(k pulumi.StringInput) ClusterOutput
func (ClusterMapOutput) ToClusterMapOutput ¶
func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput
func (ClusterMapOutput) ToClusterMapOutputWithContext ¶
func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterOutput ¶
type ClusterOutput struct{ *pulumi.OutputState }
func (ClusterOutput) Arn ¶ added in v5.4.0
func (o ClusterOutput) Arn() pulumi.StringOutput
ARN that identifies the cluster.
func (ClusterOutput) CapacityProviders
deprecated
added in
v5.4.0
func (o ClusterOutput) CapacityProviders() pulumi.StringArrayOutput
List of short names of one or more capacity providers to associate with the cluster. Valid values also include `FARGATE` and `FARGATE_SPOT`.
Deprecated: Use the aws_ecs_cluster_capacity_providers resource instead
func (ClusterOutput) Configuration ¶ added in v5.4.0
func (o ClusterOutput) Configuration() ClusterConfigurationPtrOutput
The execute command configuration for the cluster. Detailed below.
func (ClusterOutput) DefaultCapacityProviderStrategies
deprecated
added in
v5.4.0
func (o ClusterOutput) DefaultCapacityProviderStrategies() ClusterDefaultCapacityProviderStrategyArrayOutput
Configuration block for capacity provider strategy to use by default for the cluster. Can be one or more. Detailed below.
Deprecated: Use the aws_ecs_cluster_capacity_providers resource instead
func (ClusterOutput) ElementType ¶
func (ClusterOutput) ElementType() reflect.Type
func (ClusterOutput) Name ¶ added in v5.4.0
func (o ClusterOutput) Name() pulumi.StringOutput
Name of the setting to manage. Valid values: `containerInsights`.
func (ClusterOutput) Settings ¶ added in v5.4.0
func (o ClusterOutput) Settings() ClusterSettingArrayOutput
Configuration block(s) with cluster settings. For example, this can be used to enable CloudWatch Container Insights for a cluster. Detailed below.
func (ClusterOutput) Tags ¶ added in v5.4.0
func (o ClusterOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ClusterOutput) TagsAll ¶ added in v5.4.0
func (o ClusterOutput) TagsAll() pulumi.StringMapOutput
Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (ClusterOutput) ToClusterOutput ¶
func (o ClusterOutput) ToClusterOutput() ClusterOutput
func (ClusterOutput) ToClusterOutputWithContext ¶
func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
type ClusterSetting ¶
type ClusterSettingArgs ¶
type ClusterSettingArgs struct { // Name of the setting to manage. Valid values: `containerInsights`. Name pulumi.StringInput `pulumi:"name"` // The value to assign to the setting. Valid values are `enabled` and `disabled`. Value pulumi.StringInput `pulumi:"value"` }
func (ClusterSettingArgs) ElementType ¶
func (ClusterSettingArgs) ElementType() reflect.Type
func (ClusterSettingArgs) ToClusterSettingOutput ¶
func (i ClusterSettingArgs) ToClusterSettingOutput() ClusterSettingOutput
func (ClusterSettingArgs) ToClusterSettingOutputWithContext ¶
func (i ClusterSettingArgs) ToClusterSettingOutputWithContext(ctx context.Context) ClusterSettingOutput
type ClusterSettingArray ¶
type ClusterSettingArray []ClusterSettingInput
func (ClusterSettingArray) ElementType ¶
func (ClusterSettingArray) ElementType() reflect.Type
func (ClusterSettingArray) ToClusterSettingArrayOutput ¶
func (i ClusterSettingArray) ToClusterSettingArrayOutput() ClusterSettingArrayOutput
func (ClusterSettingArray) ToClusterSettingArrayOutputWithContext ¶
func (i ClusterSettingArray) ToClusterSettingArrayOutputWithContext(ctx context.Context) ClusterSettingArrayOutput
type ClusterSettingArrayInput ¶
type ClusterSettingArrayInput interface { pulumi.Input ToClusterSettingArrayOutput() ClusterSettingArrayOutput ToClusterSettingArrayOutputWithContext(context.Context) ClusterSettingArrayOutput }
ClusterSettingArrayInput is an input type that accepts ClusterSettingArray and ClusterSettingArrayOutput values. You can construct a concrete instance of `ClusterSettingArrayInput` via:
ClusterSettingArray{ ClusterSettingArgs{...} }
type ClusterSettingArrayOutput ¶
type ClusterSettingArrayOutput struct{ *pulumi.OutputState }
func (ClusterSettingArrayOutput) ElementType ¶
func (ClusterSettingArrayOutput) ElementType() reflect.Type
func (ClusterSettingArrayOutput) Index ¶
func (o ClusterSettingArrayOutput) Index(i pulumi.IntInput) ClusterSettingOutput
func (ClusterSettingArrayOutput) ToClusterSettingArrayOutput ¶
func (o ClusterSettingArrayOutput) ToClusterSettingArrayOutput() ClusterSettingArrayOutput
func (ClusterSettingArrayOutput) ToClusterSettingArrayOutputWithContext ¶
func (o ClusterSettingArrayOutput) ToClusterSettingArrayOutputWithContext(ctx context.Context) ClusterSettingArrayOutput
type ClusterSettingInput ¶
type ClusterSettingInput interface { pulumi.Input ToClusterSettingOutput() ClusterSettingOutput ToClusterSettingOutputWithContext(context.Context) ClusterSettingOutput }
ClusterSettingInput is an input type that accepts ClusterSettingArgs and ClusterSettingOutput values. You can construct a concrete instance of `ClusterSettingInput` via:
ClusterSettingArgs{...}
type ClusterSettingOutput ¶
type ClusterSettingOutput struct{ *pulumi.OutputState }
func (ClusterSettingOutput) ElementType ¶
func (ClusterSettingOutput) ElementType() reflect.Type
func (ClusterSettingOutput) Name ¶
func (o ClusterSettingOutput) Name() pulumi.StringOutput
Name of the setting to manage. Valid values: `containerInsights`.
func (ClusterSettingOutput) ToClusterSettingOutput ¶
func (o ClusterSettingOutput) ToClusterSettingOutput() ClusterSettingOutput
func (ClusterSettingOutput) ToClusterSettingOutputWithContext ¶
func (o ClusterSettingOutput) ToClusterSettingOutputWithContext(ctx context.Context) ClusterSettingOutput
func (ClusterSettingOutput) Value ¶
func (o ClusterSettingOutput) Value() pulumi.StringOutput
The value to assign to the setting. Valid values are `enabled` and `disabled`.
type ClusterState ¶
type ClusterState struct { // ARN that identifies the cluster. Arn pulumi.StringPtrInput // List of short names of one or more capacity providers to associate with the cluster. Valid values also include `FARGATE` and `FARGATE_SPOT`. // // Deprecated: Use the aws_ecs_cluster_capacity_providers resource instead CapacityProviders pulumi.StringArrayInput // The execute command configuration for the cluster. Detailed below. Configuration ClusterConfigurationPtrInput // Configuration block for capacity provider strategy to use by default for the cluster. Can be one or more. Detailed below. // // Deprecated: Use the aws_ecs_cluster_capacity_providers resource instead DefaultCapacityProviderStrategies ClusterDefaultCapacityProviderStrategyArrayInput // Name of the setting to manage. Valid values: `containerInsights`. Name pulumi.StringPtrInput // Configuration block(s) with cluster settings. For example, this can be used to enable CloudWatch Container Insights for a cluster. Detailed below. Settings ClusterSettingArrayInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput }
func (ClusterState) ElementType ¶
func (ClusterState) ElementType() reflect.Type
type GetClusterSetting ¶
type GetClusterSettingArgs ¶
type GetClusterSettingArgs struct { Name pulumi.StringInput `pulumi:"name"` Value pulumi.StringInput `pulumi:"value"` }
func (GetClusterSettingArgs) ElementType ¶
func (GetClusterSettingArgs) ElementType() reflect.Type
func (GetClusterSettingArgs) ToGetClusterSettingOutput ¶
func (i GetClusterSettingArgs) ToGetClusterSettingOutput() GetClusterSettingOutput
func (GetClusterSettingArgs) ToGetClusterSettingOutputWithContext ¶
func (i GetClusterSettingArgs) ToGetClusterSettingOutputWithContext(ctx context.Context) GetClusterSettingOutput
type GetClusterSettingArray ¶
type GetClusterSettingArray []GetClusterSettingInput
func (GetClusterSettingArray) ElementType ¶
func (GetClusterSettingArray) ElementType() reflect.Type
func (GetClusterSettingArray) ToGetClusterSettingArrayOutput ¶
func (i GetClusterSettingArray) ToGetClusterSettingArrayOutput() GetClusterSettingArrayOutput
func (GetClusterSettingArray) ToGetClusterSettingArrayOutputWithContext ¶
func (i GetClusterSettingArray) ToGetClusterSettingArrayOutputWithContext(ctx context.Context) GetClusterSettingArrayOutput
type GetClusterSettingArrayInput ¶
type GetClusterSettingArrayInput interface { pulumi.Input ToGetClusterSettingArrayOutput() GetClusterSettingArrayOutput ToGetClusterSettingArrayOutputWithContext(context.Context) GetClusterSettingArrayOutput }
GetClusterSettingArrayInput is an input type that accepts GetClusterSettingArray and GetClusterSettingArrayOutput values. You can construct a concrete instance of `GetClusterSettingArrayInput` via:
GetClusterSettingArray{ GetClusterSettingArgs{...} }
type GetClusterSettingArrayOutput ¶
type GetClusterSettingArrayOutput struct{ *pulumi.OutputState }
func (GetClusterSettingArrayOutput) ElementType ¶
func (GetClusterSettingArrayOutput) ElementType() reflect.Type
func (GetClusterSettingArrayOutput) Index ¶
func (o GetClusterSettingArrayOutput) Index(i pulumi.IntInput) GetClusterSettingOutput
func (GetClusterSettingArrayOutput) ToGetClusterSettingArrayOutput ¶
func (o GetClusterSettingArrayOutput) ToGetClusterSettingArrayOutput() GetClusterSettingArrayOutput
func (GetClusterSettingArrayOutput) ToGetClusterSettingArrayOutputWithContext ¶
func (o GetClusterSettingArrayOutput) ToGetClusterSettingArrayOutputWithContext(ctx context.Context) GetClusterSettingArrayOutput
type GetClusterSettingInput ¶
type GetClusterSettingInput interface { pulumi.Input ToGetClusterSettingOutput() GetClusterSettingOutput ToGetClusterSettingOutputWithContext(context.Context) GetClusterSettingOutput }
GetClusterSettingInput is an input type that accepts GetClusterSettingArgs and GetClusterSettingOutput values. You can construct a concrete instance of `GetClusterSettingInput` via:
GetClusterSettingArgs{...}
type GetClusterSettingOutput ¶
type GetClusterSettingOutput struct{ *pulumi.OutputState }
func (GetClusterSettingOutput) ElementType ¶
func (GetClusterSettingOutput) ElementType() reflect.Type
func (GetClusterSettingOutput) Name ¶
func (o GetClusterSettingOutput) Name() pulumi.StringOutput
func (GetClusterSettingOutput) ToGetClusterSettingOutput ¶
func (o GetClusterSettingOutput) ToGetClusterSettingOutput() GetClusterSettingOutput
func (GetClusterSettingOutput) ToGetClusterSettingOutputWithContext ¶
func (o GetClusterSettingOutput) ToGetClusterSettingOutputWithContext(ctx context.Context) GetClusterSettingOutput
func (GetClusterSettingOutput) Value ¶
func (o GetClusterSettingOutput) Value() pulumi.StringOutput
type GetContainerDefinitionArgs ¶
type GetContainerDefinitionArgs struct { // Name of the container definition ContainerName string `pulumi:"containerName"` // ARN of the task definition which contains the container TaskDefinition string `pulumi:"taskDefinition"` }
A collection of arguments for invoking getContainerDefinition.
type GetContainerDefinitionOutputArgs ¶
type GetContainerDefinitionOutputArgs struct { // Name of the container definition ContainerName pulumi.StringInput `pulumi:"containerName"` // ARN of the task definition which contains the container TaskDefinition pulumi.StringInput `pulumi:"taskDefinition"` }
A collection of arguments for invoking getContainerDefinition.
func (GetContainerDefinitionOutputArgs) ElementType ¶
func (GetContainerDefinitionOutputArgs) ElementType() reflect.Type
type GetContainerDefinitionResult ¶
type GetContainerDefinitionResult struct { ContainerName string `pulumi:"containerName"` // CPU limit for this container definition Cpu int `pulumi:"cpu"` // Indicator if networking is disabled DisableNetworking bool `pulumi:"disableNetworking"` // Set docker labels DockerLabels map[string]string `pulumi:"dockerLabels"` // Environment in use Environment map[string]string `pulumi:"environment"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Docker image in use, including the digest Image string `pulumi:"image"` // Digest of the docker image in use ImageDigest string `pulumi:"imageDigest"` // Memory limit for this container definition Memory int `pulumi:"memory"` // Soft limit (in MiB) of memory to reserve for the container. When system memory is under contention, Docker attempts to keep the container memory to this soft limit MemoryReservation int `pulumi:"memoryReservation"` TaskDefinition string `pulumi:"taskDefinition"` }
A collection of values returned by getContainerDefinition.
func GetContainerDefinition ¶
func GetContainerDefinition(ctx *pulumi.Context, args *GetContainerDefinitionArgs, opts ...pulumi.InvokeOption) (*GetContainerDefinitionResult, error)
The ECS container definition data source allows access to details of a specific container within an AWS ECS service.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.GetContainerDefinition(ctx, &ecs.GetContainerDefinitionArgs{ TaskDefinition: aws_ecs_task_definition.Mongo.Id, ContainerName: "mongodb", }, nil) if err != nil { return err } return nil }) }
```
type GetContainerDefinitionResultOutput ¶
type GetContainerDefinitionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getContainerDefinition.
func GetContainerDefinitionOutput ¶
func GetContainerDefinitionOutput(ctx *pulumi.Context, args GetContainerDefinitionOutputArgs, opts ...pulumi.InvokeOption) GetContainerDefinitionResultOutput
func (GetContainerDefinitionResultOutput) ContainerName ¶
func (o GetContainerDefinitionResultOutput) ContainerName() pulumi.StringOutput
func (GetContainerDefinitionResultOutput) Cpu ¶
func (o GetContainerDefinitionResultOutput) Cpu() pulumi.IntOutput
CPU limit for this container definition
func (GetContainerDefinitionResultOutput) DisableNetworking ¶
func (o GetContainerDefinitionResultOutput) DisableNetworking() pulumi.BoolOutput
Indicator if networking is disabled
func (GetContainerDefinitionResultOutput) DockerLabels ¶
func (o GetContainerDefinitionResultOutput) DockerLabels() pulumi.StringMapOutput
Set docker labels
func (GetContainerDefinitionResultOutput) ElementType ¶
func (GetContainerDefinitionResultOutput) ElementType() reflect.Type
func (GetContainerDefinitionResultOutput) Environment ¶
func (o GetContainerDefinitionResultOutput) Environment() pulumi.StringMapOutput
Environment in use
func (GetContainerDefinitionResultOutput) Id ¶
func (o GetContainerDefinitionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetContainerDefinitionResultOutput) Image ¶
func (o GetContainerDefinitionResultOutput) Image() pulumi.StringOutput
Docker image in use, including the digest
func (GetContainerDefinitionResultOutput) ImageDigest ¶
func (o GetContainerDefinitionResultOutput) ImageDigest() pulumi.StringOutput
Digest of the docker image in use
func (GetContainerDefinitionResultOutput) Memory ¶
func (o GetContainerDefinitionResultOutput) Memory() pulumi.IntOutput
Memory limit for this container definition
func (GetContainerDefinitionResultOutput) MemoryReservation ¶
func (o GetContainerDefinitionResultOutput) MemoryReservation() pulumi.IntOutput
Soft limit (in MiB) of memory to reserve for the container. When system memory is under contention, Docker attempts to keep the container memory to this soft limit
func (GetContainerDefinitionResultOutput) TaskDefinition ¶
func (o GetContainerDefinitionResultOutput) TaskDefinition() pulumi.StringOutput
func (GetContainerDefinitionResultOutput) ToGetContainerDefinitionResultOutput ¶
func (o GetContainerDefinitionResultOutput) ToGetContainerDefinitionResultOutput() GetContainerDefinitionResultOutput
func (GetContainerDefinitionResultOutput) ToGetContainerDefinitionResultOutputWithContext ¶
func (o GetContainerDefinitionResultOutput) ToGetContainerDefinitionResultOutputWithContext(ctx context.Context) GetContainerDefinitionResultOutput
type LookupClusterArgs ¶
type LookupClusterArgs struct { // Name of the ECS Cluster ClusterName string `pulumi:"clusterName"` }
A collection of arguments for invoking getCluster.
type LookupClusterOutputArgs ¶
type LookupClusterOutputArgs struct { // Name of the ECS Cluster ClusterName pulumi.StringInput `pulumi:"clusterName"` }
A collection of arguments for invoking getCluster.
func (LookupClusterOutputArgs) ElementType ¶
func (LookupClusterOutputArgs) ElementType() reflect.Type
type LookupClusterResult ¶
type LookupClusterResult struct { // ARN of the ECS Cluster Arn string `pulumi:"arn"` ClusterName string `pulumi:"clusterName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Number of pending tasks for the ECS Cluster PendingTasksCount int `pulumi:"pendingTasksCount"` // The number of registered container instances for the ECS Cluster RegisteredContainerInstancesCount int `pulumi:"registeredContainerInstancesCount"` // Number of running tasks for the ECS Cluster RunningTasksCount int `pulumi:"runningTasksCount"` // Settings associated with the ECS Cluster. Settings []GetClusterSetting `pulumi:"settings"` // Status of the ECS Cluster Status string `pulumi:"status"` }
A collection of values returned by getCluster.
func LookupCluster ¶
func LookupCluster(ctx *pulumi.Context, args *LookupClusterArgs, opts ...pulumi.InvokeOption) (*LookupClusterResult, error)
The ECS Cluster data source allows access to details of a specific cluster within an AWS ECS service.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.LookupCluster(ctx, &ecs.LookupClusterArgs{ ClusterName: "ecs-mongo-production", }, nil) if err != nil { return err } return nil }) }
```
type LookupClusterResultOutput ¶
type LookupClusterResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCluster.
func LookupClusterOutput ¶
func LookupClusterOutput(ctx *pulumi.Context, args LookupClusterOutputArgs, opts ...pulumi.InvokeOption) LookupClusterResultOutput
func (LookupClusterResultOutput) Arn ¶
func (o LookupClusterResultOutput) Arn() pulumi.StringOutput
ARN of the ECS Cluster
func (LookupClusterResultOutput) ClusterName ¶
func (o LookupClusterResultOutput) ClusterName() pulumi.StringOutput
func (LookupClusterResultOutput) ElementType ¶
func (LookupClusterResultOutput) ElementType() reflect.Type
func (LookupClusterResultOutput) Id ¶
func (o LookupClusterResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupClusterResultOutput) PendingTasksCount ¶
func (o LookupClusterResultOutput) PendingTasksCount() pulumi.IntOutput
Number of pending tasks for the ECS Cluster
func (LookupClusterResultOutput) RegisteredContainerInstancesCount ¶
func (o LookupClusterResultOutput) RegisteredContainerInstancesCount() pulumi.IntOutput
The number of registered container instances for the ECS Cluster
func (LookupClusterResultOutput) RunningTasksCount ¶
func (o LookupClusterResultOutput) RunningTasksCount() pulumi.IntOutput
Number of running tasks for the ECS Cluster
func (LookupClusterResultOutput) Settings ¶
func (o LookupClusterResultOutput) Settings() GetClusterSettingArrayOutput
Settings associated with the ECS Cluster.
func (LookupClusterResultOutput) Status ¶
func (o LookupClusterResultOutput) Status() pulumi.StringOutput
Status of the ECS Cluster
func (LookupClusterResultOutput) ToLookupClusterResultOutput ¶
func (o LookupClusterResultOutput) ToLookupClusterResultOutput() LookupClusterResultOutput
func (LookupClusterResultOutput) ToLookupClusterResultOutputWithContext ¶
func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx context.Context) LookupClusterResultOutput
type LookupServiceArgs ¶
type LookupServiceArgs struct { // ARN of the ECS Cluster ClusterArn string `pulumi:"clusterArn"` // Name of the ECS Service ServiceName string `pulumi:"serviceName"` // Resource tags. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getService.
type LookupServiceOutputArgs ¶
type LookupServiceOutputArgs struct { // ARN of the ECS Cluster ClusterArn pulumi.StringInput `pulumi:"clusterArn"` // Name of the ECS Service ServiceName pulumi.StringInput `pulumi:"serviceName"` // Resource tags. Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getService.
func (LookupServiceOutputArgs) ElementType ¶
func (LookupServiceOutputArgs) ElementType() reflect.Type
type LookupServiceResult ¶
type LookupServiceResult struct { // ARN of the ECS Service Arn string `pulumi:"arn"` ClusterArn string `pulumi:"clusterArn"` // Number of tasks for the ECS Service DesiredCount int `pulumi:"desiredCount"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Launch type for the ECS Service LaunchType string `pulumi:"launchType"` // Scheduling strategy for the ECS Service SchedulingStrategy string `pulumi:"schedulingStrategy"` ServiceName string `pulumi:"serviceName"` // Resource tags. Tags map[string]string `pulumi:"tags"` // Family for the latest ACTIVE revision TaskDefinition string `pulumi:"taskDefinition"` }
A collection of values returned by getService.
func LookupService ¶
func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error)
The ECS Service data source allows access to details of a specific Service within a AWS ECS Cluster.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.LookupService(ctx, &ecs.LookupServiceArgs{ ServiceName: "example", ClusterArn: data.Aws_ecs_cluster.Example.Arn, }, nil) if err != nil { return err } return nil }) }
```
type LookupServiceResultOutput ¶
type LookupServiceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getService.
func LookupServiceOutput ¶
func LookupServiceOutput(ctx *pulumi.Context, args LookupServiceOutputArgs, opts ...pulumi.InvokeOption) LookupServiceResultOutput
func (LookupServiceResultOutput) Arn ¶
func (o LookupServiceResultOutput) Arn() pulumi.StringOutput
ARN of the ECS Service
func (LookupServiceResultOutput) ClusterArn ¶
func (o LookupServiceResultOutput) ClusterArn() pulumi.StringOutput
func (LookupServiceResultOutput) DesiredCount ¶
func (o LookupServiceResultOutput) DesiredCount() pulumi.IntOutput
Number of tasks for the ECS Service
func (LookupServiceResultOutput) ElementType ¶
func (LookupServiceResultOutput) ElementType() reflect.Type
func (LookupServiceResultOutput) Id ¶
func (o LookupServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupServiceResultOutput) LaunchType ¶
func (o LookupServiceResultOutput) LaunchType() pulumi.StringOutput
Launch type for the ECS Service
func (LookupServiceResultOutput) SchedulingStrategy ¶
func (o LookupServiceResultOutput) SchedulingStrategy() pulumi.StringOutput
Scheduling strategy for the ECS Service
func (LookupServiceResultOutput) ServiceName ¶
func (o LookupServiceResultOutput) ServiceName() pulumi.StringOutput
func (LookupServiceResultOutput) Tags ¶ added in v5.11.0
func (o LookupServiceResultOutput) Tags() pulumi.StringMapOutput
Resource tags.
func (LookupServiceResultOutput) TaskDefinition ¶
func (o LookupServiceResultOutput) TaskDefinition() pulumi.StringOutput
Family for the latest ACTIVE revision
func (LookupServiceResultOutput) ToLookupServiceResultOutput ¶
func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput
func (LookupServiceResultOutput) ToLookupServiceResultOutputWithContext ¶
func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput
type LookupTaskDefinitionArgs ¶
type LookupTaskDefinitionArgs struct { // Family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, the ARN of the task definition to access to. TaskDefinition string `pulumi:"taskDefinition"` }
A collection of arguments for invoking getTaskDefinition.
type LookupTaskDefinitionOutputArgs ¶
type LookupTaskDefinitionOutputArgs struct { // Family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, the ARN of the task definition to access to. TaskDefinition pulumi.StringInput `pulumi:"taskDefinition"` }
A collection of arguments for invoking getTaskDefinition.
func (LookupTaskDefinitionOutputArgs) ElementType ¶
func (LookupTaskDefinitionOutputArgs) ElementType() reflect.Type
type LookupTaskDefinitionResult ¶
type LookupTaskDefinitionResult struct { // ARN of the task definition Arn string `pulumi:"arn"` // Family of this task definition Family string `pulumi:"family"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Docker networking mode to use for the containers in this task. NetworkMode string `pulumi:"networkMode"` // Revision of this task definition Revision int `pulumi:"revision"` // Status of this task definition Status string `pulumi:"status"` TaskDefinition string `pulumi:"taskDefinition"` // ARN of the IAM role that containers in this task can assume TaskRoleArn string `pulumi:"taskRoleArn"` }
A collection of values returned by getTaskDefinition.
func LookupTaskDefinition ¶
func LookupTaskDefinition(ctx *pulumi.Context, args *LookupTaskDefinitionArgs, opts ...pulumi.InvokeOption) (*LookupTaskDefinitionResult, error)
The ECS task definition data source allows access to details of a specific AWS ECS task definition.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { mongoTaskDefinition, err := ecs.LookupTaskDefinition(ctx, &ecs.LookupTaskDefinitionArgs{ TaskDefinition: mongoEcs / taskDefinitionTaskDefinition.Family, }, nil) if err != nil { return err } foo, err := ecs.NewCluster(ctx, "foo", nil) if err != nil { return err } _, err = ecs.NewTaskDefinition(ctx, "mongoEcs/taskDefinitionTaskDefinition", &ecs.TaskDefinitionArgs{ Family: pulumi.String("mongodb"), ContainerDefinitions: pulumi.String(fmt.Sprintf(`[ { "cpu": 128, "environment": [{ "name": "SECRET", "value": "KEY" }], "essential": true, "image": "mongo:latest", "memory": 128, "memoryReservation": 64, "name": "mongodb" }
] `)),
}) if err != nil { return err } _, err = ecs.NewService(ctx, "mongoService", &ecs.ServiceArgs{ Cluster: foo.ID(), DesiredCount: pulumi.Int(2), TaskDefinition: pulumi.String(mongoTaskDefinition.Arn), }) if err != nil { return err } return nil }) }
```
type LookupTaskDefinitionResultOutput ¶
type LookupTaskDefinitionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTaskDefinition.
func LookupTaskDefinitionOutput ¶
func LookupTaskDefinitionOutput(ctx *pulumi.Context, args LookupTaskDefinitionOutputArgs, opts ...pulumi.InvokeOption) LookupTaskDefinitionResultOutput
func (LookupTaskDefinitionResultOutput) Arn ¶
func (o LookupTaskDefinitionResultOutput) Arn() pulumi.StringOutput
ARN of the task definition
func (LookupTaskDefinitionResultOutput) ElementType ¶
func (LookupTaskDefinitionResultOutput) ElementType() reflect.Type
func (LookupTaskDefinitionResultOutput) Family ¶
func (o LookupTaskDefinitionResultOutput) Family() pulumi.StringOutput
Family of this task definition
func (LookupTaskDefinitionResultOutput) Id ¶
func (o LookupTaskDefinitionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupTaskDefinitionResultOutput) NetworkMode ¶
func (o LookupTaskDefinitionResultOutput) NetworkMode() pulumi.StringOutput
Docker networking mode to use for the containers in this task.
func (LookupTaskDefinitionResultOutput) Revision ¶
func (o LookupTaskDefinitionResultOutput) Revision() pulumi.IntOutput
Revision of this task definition
func (LookupTaskDefinitionResultOutput) Status ¶
func (o LookupTaskDefinitionResultOutput) Status() pulumi.StringOutput
Status of this task definition
func (LookupTaskDefinitionResultOutput) TaskDefinition ¶
func (o LookupTaskDefinitionResultOutput) TaskDefinition() pulumi.StringOutput
func (LookupTaskDefinitionResultOutput) TaskRoleArn ¶
func (o LookupTaskDefinitionResultOutput) TaskRoleArn() pulumi.StringOutput
ARN of the IAM role that containers in this task can assume
func (LookupTaskDefinitionResultOutput) ToLookupTaskDefinitionResultOutput ¶
func (o LookupTaskDefinitionResultOutput) ToLookupTaskDefinitionResultOutput() LookupTaskDefinitionResultOutput
func (LookupTaskDefinitionResultOutput) ToLookupTaskDefinitionResultOutputWithContext ¶
func (o LookupTaskDefinitionResultOutput) ToLookupTaskDefinitionResultOutputWithContext(ctx context.Context) LookupTaskDefinitionResultOutput
type Service ¶
type Service struct { pulumi.CustomResourceState // Capacity provider strategies to use for the service. Can be one or more. These can be updated without destroying and recreating the service only if `forceNewDeployment = true` and not changing from 0 `capacityProviderStrategy` blocks to greater than 0, or vice versa. See below. CapacityProviderStrategies ServiceCapacityProviderStrategyArrayOutput `pulumi:"capacityProviderStrategies"` // ARN of an ECS cluster. Cluster pulumi.StringOutput `pulumi:"cluster"` // Configuration block for deployment circuit breaker. See below. DeploymentCircuitBreaker ServiceDeploymentCircuitBreakerPtrOutput `pulumi:"deploymentCircuitBreaker"` // Configuration block for deployment controller configuration. See below. DeploymentController ServiceDeploymentControllerPtrOutput `pulumi:"deploymentController"` // Upper limit (as a percentage of the service's desiredCount) of the number of running tasks that can be running in a service during a deployment. Not valid when using the `DAEMON` scheduling strategy. DeploymentMaximumPercent pulumi.IntPtrOutput `pulumi:"deploymentMaximumPercent"` // Lower limit (as a percentage of the service's desiredCount) of the number of running tasks that must remain running and healthy in a service during a deployment. DeploymentMinimumHealthyPercent pulumi.IntPtrOutput `pulumi:"deploymentMinimumHealthyPercent"` // Number of instances of the task definition to place and keep running. Defaults to 0. Do not specify if using the `DAEMON` scheduling strategy. DesiredCount pulumi.IntPtrOutput `pulumi:"desiredCount"` // Specifies whether to enable Amazon ECS managed tags for the tasks within the service. EnableEcsManagedTags pulumi.BoolPtrOutput `pulumi:"enableEcsManagedTags"` // Specifies whether to enable Amazon ECS Exec for the tasks within the service. EnableExecuteCommand pulumi.BoolPtrOutput `pulumi:"enableExecuteCommand"` // Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates. ForceNewDeployment pulumi.BoolPtrOutput `pulumi:"forceNewDeployment"` // Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers. HealthCheckGracePeriodSeconds pulumi.IntPtrOutput `pulumi:"healthCheckGracePeriodSeconds"` // ARN of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is required if you are using a load balancer with your service, but only if your task definition does not use the `awsvpc` network mode. If using `awsvpc` network mode, do not specify this role. If your account has already created the Amazon ECS service-linked role, that role is used by default for your service unless you specify a role here. IamRole pulumi.StringOutput `pulumi:"iamRole"` // Launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`. LaunchType pulumi.StringOutput `pulumi:"launchType"` // Configuration block for load balancers. See below. LoadBalancers ServiceLoadBalancerArrayOutput `pulumi:"loadBalancers"` // Name of the service (up to 255 letters, numbers, hyphens, and underscores) Name pulumi.StringOutput `pulumi:"name"` // Network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. See below. NetworkConfiguration ServiceNetworkConfigurationPtrOutput `pulumi:"networkConfiguration"` // Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. The maximum number of `orderedPlacementStrategy` blocks is `5`. See below. OrderedPlacementStrategies ServiceOrderedPlacementStrategyArrayOutput `pulumi:"orderedPlacementStrategies"` // Rules that are taken into consideration during task placement. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. Maximum number of `placementConstraints` is `10`. See below. PlacementConstraints ServicePlacementConstraintArrayOutput `pulumi:"placementConstraints"` // Platform version on which to run your service. Only applicable for `launchType` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html). PlatformVersion pulumi.StringOutput `pulumi:"platformVersion"` // Specifies whether to propagate the tags from the task definition or the service to the tasks. The valid values are `SERVICE` and `TASK_DEFINITION`. PropagateTags pulumi.StringPtrOutput `pulumi:"propagateTags"` // Scheduling strategy to use for the service. The valid values are `REPLICA` and `DAEMON`. Defaults to `REPLICA`. Note that [*Tasks using the Fargate launch type or the `CODE_DEPLOY` or `EXTERNAL` deployment controller types don't support the `DAEMON` scheduling strategy*](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html). SchedulingStrategy pulumi.StringPtrOutput `pulumi:"schedulingStrategy"` // Service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. See below. ServiceRegistries ServiceServiceRegistriesPtrOutput `pulumi:"serviceRegistries"` // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used. TaskDefinition pulumi.StringPtrOutput `pulumi:"taskDefinition"` // If `true`, this provider will wait for the service to reach a steady state (like [`aws ecs wait services-stable`](https://docs.aws.amazon.com/cli/latest/reference/ecs/wait/services-stable.html)) before continuing. Default `false`. WaitForSteadyState pulumi.BoolPtrOutput `pulumi:"waitForSteadyState"` }
> **Note:** To prevent a race condition during service deletion, make sure to set `dependsOn` to the related `iam.RolePolicy`; otherwise, the policy may be destroyed too soon and the ECS service will then get stuck in the `DRAINING` state.
Provides an ECS service - effectively a task that is expected to run until an error occurs or a user terminates it (typically a webserver or a database).
See [ECS Services section in AWS developer guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewService(ctx, "mongo", &ecs.ServiceArgs{ Cluster: pulumi.Any(aws_ecs_cluster.Foo.Id), TaskDefinition: pulumi.Any(aws_ecs_task_definition.Mongo.Arn), DesiredCount: pulumi.Int(3), IamRole: pulumi.Any(aws_iam_role.Foo.Arn), OrderedPlacementStrategies: ecs.ServiceOrderedPlacementStrategyArray{ &ecs.ServiceOrderedPlacementStrategyArgs{ Type: pulumi.String("binpack"), Field: pulumi.String("cpu"), }, }, LoadBalancers: ecs.ServiceLoadBalancerArray{ &ecs.ServiceLoadBalancerArgs{ TargetGroupArn: pulumi.Any(aws_lb_target_group.Foo.Arn), ContainerName: pulumi.String("mongo"), ContainerPort: pulumi.Int(8080), }, }, PlacementConstraints: ecs.ServicePlacementConstraintArray{ &ecs.ServicePlacementConstraintArgs{ Type: pulumi.String("memberOf"), Expression: pulumi.String("attribute:ecs.availability-zone in [us-west-2a, us-west-2b]"), }, }, }, pulumi.DependsOn([]pulumi.Resource{ aws_iam_role_policy.Foo, })) if err != nil { return err } return nil }) }
``` ### Ignoring Changes to Desired Count
You can use [`ignoreChanges`](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) to create an ECS service with an initial count of running instances, then ignore any changes to that count caused externally (e.g. Application Autoscaling).
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewService(ctx, "example", &ecs.ServiceArgs{ DesiredCount: pulumi.Int(2), }) if err != nil { return err } return nil }) }
``` ### Daemon Scheduling Strategy
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewService(ctx, "bar", &ecs.ServiceArgs{ Cluster: pulumi.Any(aws_ecs_cluster.Foo.Id), TaskDefinition: pulumi.Any(aws_ecs_task_definition.Bar.Arn), SchedulingStrategy: pulumi.String("DAEMON"), }) if err != nil { return err } return nil }) }
``` ### External Deployment Controller
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewService(ctx, "example", &ecs.ServiceArgs{ Cluster: pulumi.Any(aws_ecs_cluster.Example.Id), DeploymentController: &ecs.ServiceDeploymentControllerArgs{ Type: pulumi.String("EXTERNAL"), }, }) if err != nil { return err } return nil }) }
```
## Import
ECS services can be imported using the `name` together with ecs cluster `name`, e.g.,
```sh
$ pulumi import aws:ecs/service:Service imported cluster-name/service-name
```
func GetService ¶
func GetService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)
GetService gets an existing Service resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewService ¶
func NewService(ctx *pulumi.Context, name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)
NewService registers a new resource with the given unique name, arguments, and options.
func (*Service) ElementType ¶
func (*Service) ToServiceOutput ¶
func (i *Service) ToServiceOutput() ServiceOutput
func (*Service) ToServiceOutputWithContext ¶
func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
type ServiceArgs ¶
type ServiceArgs struct { // Capacity provider strategies to use for the service. Can be one or more. These can be updated without destroying and recreating the service only if `forceNewDeployment = true` and not changing from 0 `capacityProviderStrategy` blocks to greater than 0, or vice versa. See below. CapacityProviderStrategies ServiceCapacityProviderStrategyArrayInput // ARN of an ECS cluster. Cluster pulumi.StringPtrInput // Configuration block for deployment circuit breaker. See below. DeploymentCircuitBreaker ServiceDeploymentCircuitBreakerPtrInput // Configuration block for deployment controller configuration. See below. DeploymentController ServiceDeploymentControllerPtrInput // Upper limit (as a percentage of the service's desiredCount) of the number of running tasks that can be running in a service during a deployment. Not valid when using the `DAEMON` scheduling strategy. DeploymentMaximumPercent pulumi.IntPtrInput // Lower limit (as a percentage of the service's desiredCount) of the number of running tasks that must remain running and healthy in a service during a deployment. DeploymentMinimumHealthyPercent pulumi.IntPtrInput // Number of instances of the task definition to place and keep running. Defaults to 0. Do not specify if using the `DAEMON` scheduling strategy. DesiredCount pulumi.IntPtrInput // Specifies whether to enable Amazon ECS managed tags for the tasks within the service. EnableEcsManagedTags pulumi.BoolPtrInput // Specifies whether to enable Amazon ECS Exec for the tasks within the service. EnableExecuteCommand pulumi.BoolPtrInput // Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates. ForceNewDeployment pulumi.BoolPtrInput // Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers. HealthCheckGracePeriodSeconds pulumi.IntPtrInput // ARN of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is required if you are using a load balancer with your service, but only if your task definition does not use the `awsvpc` network mode. If using `awsvpc` network mode, do not specify this role. If your account has already created the Amazon ECS service-linked role, that role is used by default for your service unless you specify a role here. IamRole pulumi.StringPtrInput // Launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`. LaunchType pulumi.StringPtrInput // Configuration block for load balancers. See below. LoadBalancers ServiceLoadBalancerArrayInput // Name of the service (up to 255 letters, numbers, hyphens, and underscores) Name pulumi.StringPtrInput // Network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. See below. NetworkConfiguration ServiceNetworkConfigurationPtrInput // Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. The maximum number of `orderedPlacementStrategy` blocks is `5`. See below. OrderedPlacementStrategies ServiceOrderedPlacementStrategyArrayInput // Rules that are taken into consideration during task placement. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. Maximum number of `placementConstraints` is `10`. See below. PlacementConstraints ServicePlacementConstraintArrayInput // Platform version on which to run your service. Only applicable for `launchType` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html). PlatformVersion pulumi.StringPtrInput // Specifies whether to propagate the tags from the task definition or the service to the tasks. The valid values are `SERVICE` and `TASK_DEFINITION`. PropagateTags pulumi.StringPtrInput // Scheduling strategy to use for the service. The valid values are `REPLICA` and `DAEMON`. Defaults to `REPLICA`. Note that [*Tasks using the Fargate launch type or the `CODE_DEPLOY` or `EXTERNAL` deployment controller types don't support the `DAEMON` scheduling strategy*](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html). SchedulingStrategy pulumi.StringPtrInput // Service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. See below. ServiceRegistries ServiceServiceRegistriesPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used. TaskDefinition pulumi.StringPtrInput // If `true`, this provider will wait for the service to reach a steady state (like [`aws ecs wait services-stable`](https://docs.aws.amazon.com/cli/latest/reference/ecs/wait/services-stable.html)) before continuing. Default `false`. WaitForSteadyState pulumi.BoolPtrInput }
The set of arguments for constructing a Service resource.
func (ServiceArgs) ElementType ¶
func (ServiceArgs) ElementType() reflect.Type
type ServiceArray ¶
type ServiceArray []ServiceInput
func (ServiceArray) ElementType ¶
func (ServiceArray) ElementType() reflect.Type
func (ServiceArray) ToServiceArrayOutput ¶
func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput
func (ServiceArray) ToServiceArrayOutputWithContext ¶
func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput
type ServiceArrayInput ¶
type ServiceArrayInput interface { pulumi.Input ToServiceArrayOutput() ServiceArrayOutput ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput }
ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:
ServiceArray{ ServiceArgs{...} }
type ServiceArrayOutput ¶
type ServiceArrayOutput struct{ *pulumi.OutputState }
func (ServiceArrayOutput) ElementType ¶
func (ServiceArrayOutput) ElementType() reflect.Type
func (ServiceArrayOutput) Index ¶
func (o ServiceArrayOutput) Index(i pulumi.IntInput) ServiceOutput
func (ServiceArrayOutput) ToServiceArrayOutput ¶
func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput
func (ServiceArrayOutput) ToServiceArrayOutputWithContext ¶
func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput
type ServiceCapacityProviderStrategy ¶
type ServiceCapacityProviderStrategy struct { // Number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. Base *int `pulumi:"base"` // Short name of the capacity provider. CapacityProvider string `pulumi:"capacityProvider"` // Relative percentage of the total number of launched tasks that should use the specified capacity provider. Weight *int `pulumi:"weight"` }
type ServiceCapacityProviderStrategyArgs ¶
type ServiceCapacityProviderStrategyArgs struct { // Number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. Base pulumi.IntPtrInput `pulumi:"base"` // Short name of the capacity provider. CapacityProvider pulumi.StringInput `pulumi:"capacityProvider"` // Relative percentage of the total number of launched tasks that should use the specified capacity provider. Weight pulumi.IntPtrInput `pulumi:"weight"` }
func (ServiceCapacityProviderStrategyArgs) ElementType ¶
func (ServiceCapacityProviderStrategyArgs) ElementType() reflect.Type
func (ServiceCapacityProviderStrategyArgs) ToServiceCapacityProviderStrategyOutput ¶
func (i ServiceCapacityProviderStrategyArgs) ToServiceCapacityProviderStrategyOutput() ServiceCapacityProviderStrategyOutput
func (ServiceCapacityProviderStrategyArgs) ToServiceCapacityProviderStrategyOutputWithContext ¶
func (i ServiceCapacityProviderStrategyArgs) ToServiceCapacityProviderStrategyOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyOutput
type ServiceCapacityProviderStrategyArray ¶
type ServiceCapacityProviderStrategyArray []ServiceCapacityProviderStrategyInput
func (ServiceCapacityProviderStrategyArray) ElementType ¶
func (ServiceCapacityProviderStrategyArray) ElementType() reflect.Type
func (ServiceCapacityProviderStrategyArray) ToServiceCapacityProviderStrategyArrayOutput ¶
func (i ServiceCapacityProviderStrategyArray) ToServiceCapacityProviderStrategyArrayOutput() ServiceCapacityProviderStrategyArrayOutput
func (ServiceCapacityProviderStrategyArray) ToServiceCapacityProviderStrategyArrayOutputWithContext ¶
func (i ServiceCapacityProviderStrategyArray) ToServiceCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyArrayOutput
type ServiceCapacityProviderStrategyArrayInput ¶
type ServiceCapacityProviderStrategyArrayInput interface { pulumi.Input ToServiceCapacityProviderStrategyArrayOutput() ServiceCapacityProviderStrategyArrayOutput ToServiceCapacityProviderStrategyArrayOutputWithContext(context.Context) ServiceCapacityProviderStrategyArrayOutput }
ServiceCapacityProviderStrategyArrayInput is an input type that accepts ServiceCapacityProviderStrategyArray and ServiceCapacityProviderStrategyArrayOutput values. You can construct a concrete instance of `ServiceCapacityProviderStrategyArrayInput` via:
ServiceCapacityProviderStrategyArray{ ServiceCapacityProviderStrategyArgs{...} }
type ServiceCapacityProviderStrategyArrayOutput ¶
type ServiceCapacityProviderStrategyArrayOutput struct{ *pulumi.OutputState }
func (ServiceCapacityProviderStrategyArrayOutput) ElementType ¶
func (ServiceCapacityProviderStrategyArrayOutput) ElementType() reflect.Type
func (ServiceCapacityProviderStrategyArrayOutput) ToServiceCapacityProviderStrategyArrayOutput ¶
func (o ServiceCapacityProviderStrategyArrayOutput) ToServiceCapacityProviderStrategyArrayOutput() ServiceCapacityProviderStrategyArrayOutput
func (ServiceCapacityProviderStrategyArrayOutput) ToServiceCapacityProviderStrategyArrayOutputWithContext ¶
func (o ServiceCapacityProviderStrategyArrayOutput) ToServiceCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyArrayOutput
type ServiceCapacityProviderStrategyInput ¶
type ServiceCapacityProviderStrategyInput interface { pulumi.Input ToServiceCapacityProviderStrategyOutput() ServiceCapacityProviderStrategyOutput ToServiceCapacityProviderStrategyOutputWithContext(context.Context) ServiceCapacityProviderStrategyOutput }
ServiceCapacityProviderStrategyInput is an input type that accepts ServiceCapacityProviderStrategyArgs and ServiceCapacityProviderStrategyOutput values. You can construct a concrete instance of `ServiceCapacityProviderStrategyInput` via:
ServiceCapacityProviderStrategyArgs{...}
type ServiceCapacityProviderStrategyOutput ¶
type ServiceCapacityProviderStrategyOutput struct{ *pulumi.OutputState }
func (ServiceCapacityProviderStrategyOutput) Base ¶
func (o ServiceCapacityProviderStrategyOutput) Base() pulumi.IntPtrOutput
Number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined.
func (ServiceCapacityProviderStrategyOutput) CapacityProvider ¶
func (o ServiceCapacityProviderStrategyOutput) CapacityProvider() pulumi.StringOutput
Short name of the capacity provider.
func (ServiceCapacityProviderStrategyOutput) ElementType ¶
func (ServiceCapacityProviderStrategyOutput) ElementType() reflect.Type
func (ServiceCapacityProviderStrategyOutput) ToServiceCapacityProviderStrategyOutput ¶
func (o ServiceCapacityProviderStrategyOutput) ToServiceCapacityProviderStrategyOutput() ServiceCapacityProviderStrategyOutput
func (ServiceCapacityProviderStrategyOutput) ToServiceCapacityProviderStrategyOutputWithContext ¶
func (o ServiceCapacityProviderStrategyOutput) ToServiceCapacityProviderStrategyOutputWithContext(ctx context.Context) ServiceCapacityProviderStrategyOutput
func (ServiceCapacityProviderStrategyOutput) Weight ¶
func (o ServiceCapacityProviderStrategyOutput) Weight() pulumi.IntPtrOutput
Relative percentage of the total number of launched tasks that should use the specified capacity provider.
type ServiceDeploymentCircuitBreaker ¶
type ServiceDeploymentCircuitBreaker struct { // Whether to enable the deployment circuit breaker logic for the service. Enable bool `pulumi:"enable"` // Whether to enable Amazon ECS to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully. Rollback bool `pulumi:"rollback"` }
type ServiceDeploymentCircuitBreakerArgs ¶
type ServiceDeploymentCircuitBreakerArgs struct { // Whether to enable the deployment circuit breaker logic for the service. Enable pulumi.BoolInput `pulumi:"enable"` // Whether to enable Amazon ECS to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully. Rollback pulumi.BoolInput `pulumi:"rollback"` }
func (ServiceDeploymentCircuitBreakerArgs) ElementType ¶
func (ServiceDeploymentCircuitBreakerArgs) ElementType() reflect.Type
func (ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerOutput ¶
func (i ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerOutput() ServiceDeploymentCircuitBreakerOutput
func (ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerOutputWithContext ¶
func (i ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerOutputWithContext(ctx context.Context) ServiceDeploymentCircuitBreakerOutput
func (ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerPtrOutput ¶
func (i ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerPtrOutput() ServiceDeploymentCircuitBreakerPtrOutput
func (ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerPtrOutputWithContext ¶
func (i ServiceDeploymentCircuitBreakerArgs) ToServiceDeploymentCircuitBreakerPtrOutputWithContext(ctx context.Context) ServiceDeploymentCircuitBreakerPtrOutput
type ServiceDeploymentCircuitBreakerInput ¶
type ServiceDeploymentCircuitBreakerInput interface { pulumi.Input ToServiceDeploymentCircuitBreakerOutput() ServiceDeploymentCircuitBreakerOutput ToServiceDeploymentCircuitBreakerOutputWithContext(context.Context) ServiceDeploymentCircuitBreakerOutput }
ServiceDeploymentCircuitBreakerInput is an input type that accepts ServiceDeploymentCircuitBreakerArgs and ServiceDeploymentCircuitBreakerOutput values. You can construct a concrete instance of `ServiceDeploymentCircuitBreakerInput` via:
ServiceDeploymentCircuitBreakerArgs{...}
type ServiceDeploymentCircuitBreakerOutput ¶
type ServiceDeploymentCircuitBreakerOutput struct{ *pulumi.OutputState }
func (ServiceDeploymentCircuitBreakerOutput) ElementType ¶
func (ServiceDeploymentCircuitBreakerOutput) ElementType() reflect.Type
func (ServiceDeploymentCircuitBreakerOutput) Enable ¶
func (o ServiceDeploymentCircuitBreakerOutput) Enable() pulumi.BoolOutput
Whether to enable the deployment circuit breaker logic for the service.
func (ServiceDeploymentCircuitBreakerOutput) Rollback ¶
func (o ServiceDeploymentCircuitBreakerOutput) Rollback() pulumi.BoolOutput
Whether to enable Amazon ECS to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.
func (ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerOutput ¶
func (o ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerOutput() ServiceDeploymentCircuitBreakerOutput
func (ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerOutputWithContext ¶
func (o ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerOutputWithContext(ctx context.Context) ServiceDeploymentCircuitBreakerOutput
func (ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerPtrOutput ¶
func (o ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerPtrOutput() ServiceDeploymentCircuitBreakerPtrOutput
func (ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerPtrOutputWithContext ¶
func (o ServiceDeploymentCircuitBreakerOutput) ToServiceDeploymentCircuitBreakerPtrOutputWithContext(ctx context.Context) ServiceDeploymentCircuitBreakerPtrOutput
type ServiceDeploymentCircuitBreakerPtrInput ¶
type ServiceDeploymentCircuitBreakerPtrInput interface { pulumi.Input ToServiceDeploymentCircuitBreakerPtrOutput() ServiceDeploymentCircuitBreakerPtrOutput ToServiceDeploymentCircuitBreakerPtrOutputWithContext(context.Context) ServiceDeploymentCircuitBreakerPtrOutput }
ServiceDeploymentCircuitBreakerPtrInput is an input type that accepts ServiceDeploymentCircuitBreakerArgs, ServiceDeploymentCircuitBreakerPtr and ServiceDeploymentCircuitBreakerPtrOutput values. You can construct a concrete instance of `ServiceDeploymentCircuitBreakerPtrInput` via:
ServiceDeploymentCircuitBreakerArgs{...} or: nil
func ServiceDeploymentCircuitBreakerPtr ¶
func ServiceDeploymentCircuitBreakerPtr(v *ServiceDeploymentCircuitBreakerArgs) ServiceDeploymentCircuitBreakerPtrInput
type ServiceDeploymentCircuitBreakerPtrOutput ¶
type ServiceDeploymentCircuitBreakerPtrOutput struct{ *pulumi.OutputState }
func (ServiceDeploymentCircuitBreakerPtrOutput) ElementType ¶
func (ServiceDeploymentCircuitBreakerPtrOutput) ElementType() reflect.Type
func (ServiceDeploymentCircuitBreakerPtrOutput) Enable ¶
func (o ServiceDeploymentCircuitBreakerPtrOutput) Enable() pulumi.BoolPtrOutput
Whether to enable the deployment circuit breaker logic for the service.
func (ServiceDeploymentCircuitBreakerPtrOutput) Rollback ¶
func (o ServiceDeploymentCircuitBreakerPtrOutput) Rollback() pulumi.BoolPtrOutput
Whether to enable Amazon ECS to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.
func (ServiceDeploymentCircuitBreakerPtrOutput) ToServiceDeploymentCircuitBreakerPtrOutput ¶
func (o ServiceDeploymentCircuitBreakerPtrOutput) ToServiceDeploymentCircuitBreakerPtrOutput() ServiceDeploymentCircuitBreakerPtrOutput
func (ServiceDeploymentCircuitBreakerPtrOutput) ToServiceDeploymentCircuitBreakerPtrOutputWithContext ¶
func (o ServiceDeploymentCircuitBreakerPtrOutput) ToServiceDeploymentCircuitBreakerPtrOutputWithContext(ctx context.Context) ServiceDeploymentCircuitBreakerPtrOutput
type ServiceDeploymentController ¶
type ServiceDeploymentController struct { // Type of deployment controller. Valid values: `CODE_DEPLOY`, `ECS`, `EXTERNAL`. Default: `ECS`. Type *string `pulumi:"type"` }
type ServiceDeploymentControllerArgs ¶
type ServiceDeploymentControllerArgs struct { // Type of deployment controller. Valid values: `CODE_DEPLOY`, `ECS`, `EXTERNAL`. Default: `ECS`. Type pulumi.StringPtrInput `pulumi:"type"` }
func (ServiceDeploymentControllerArgs) ElementType ¶
func (ServiceDeploymentControllerArgs) ElementType() reflect.Type
func (ServiceDeploymentControllerArgs) ToServiceDeploymentControllerOutput ¶
func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerOutput() ServiceDeploymentControllerOutput
func (ServiceDeploymentControllerArgs) ToServiceDeploymentControllerOutputWithContext ¶
func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerOutputWithContext(ctx context.Context) ServiceDeploymentControllerOutput
func (ServiceDeploymentControllerArgs) ToServiceDeploymentControllerPtrOutput ¶
func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput
func (ServiceDeploymentControllerArgs) ToServiceDeploymentControllerPtrOutputWithContext ¶
func (i ServiceDeploymentControllerArgs) ToServiceDeploymentControllerPtrOutputWithContext(ctx context.Context) ServiceDeploymentControllerPtrOutput
type ServiceDeploymentControllerInput ¶
type ServiceDeploymentControllerInput interface { pulumi.Input ToServiceDeploymentControllerOutput() ServiceDeploymentControllerOutput ToServiceDeploymentControllerOutputWithContext(context.Context) ServiceDeploymentControllerOutput }
ServiceDeploymentControllerInput is an input type that accepts ServiceDeploymentControllerArgs and ServiceDeploymentControllerOutput values. You can construct a concrete instance of `ServiceDeploymentControllerInput` via:
ServiceDeploymentControllerArgs{...}
type ServiceDeploymentControllerOutput ¶
type ServiceDeploymentControllerOutput struct{ *pulumi.OutputState }
func (ServiceDeploymentControllerOutput) ElementType ¶
func (ServiceDeploymentControllerOutput) ElementType() reflect.Type
func (ServiceDeploymentControllerOutput) ToServiceDeploymentControllerOutput ¶
func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerOutput() ServiceDeploymentControllerOutput
func (ServiceDeploymentControllerOutput) ToServiceDeploymentControllerOutputWithContext ¶
func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerOutputWithContext(ctx context.Context) ServiceDeploymentControllerOutput
func (ServiceDeploymentControllerOutput) ToServiceDeploymentControllerPtrOutput ¶
func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput
func (ServiceDeploymentControllerOutput) ToServiceDeploymentControllerPtrOutputWithContext ¶
func (o ServiceDeploymentControllerOutput) ToServiceDeploymentControllerPtrOutputWithContext(ctx context.Context) ServiceDeploymentControllerPtrOutput
func (ServiceDeploymentControllerOutput) Type ¶
func (o ServiceDeploymentControllerOutput) Type() pulumi.StringPtrOutput
Type of deployment controller. Valid values: `CODE_DEPLOY`, `ECS`, `EXTERNAL`. Default: `ECS`.
type ServiceDeploymentControllerPtrInput ¶
type ServiceDeploymentControllerPtrInput interface { pulumi.Input ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput ToServiceDeploymentControllerPtrOutputWithContext(context.Context) ServiceDeploymentControllerPtrOutput }
ServiceDeploymentControllerPtrInput is an input type that accepts ServiceDeploymentControllerArgs, ServiceDeploymentControllerPtr and ServiceDeploymentControllerPtrOutput values. You can construct a concrete instance of `ServiceDeploymentControllerPtrInput` via:
ServiceDeploymentControllerArgs{...} or: nil
func ServiceDeploymentControllerPtr ¶
func ServiceDeploymentControllerPtr(v *ServiceDeploymentControllerArgs) ServiceDeploymentControllerPtrInput
type ServiceDeploymentControllerPtrOutput ¶
type ServiceDeploymentControllerPtrOutput struct{ *pulumi.OutputState }
func (ServiceDeploymentControllerPtrOutput) ElementType ¶
func (ServiceDeploymentControllerPtrOutput) ElementType() reflect.Type
func (ServiceDeploymentControllerPtrOutput) ToServiceDeploymentControllerPtrOutput ¶
func (o ServiceDeploymentControllerPtrOutput) ToServiceDeploymentControllerPtrOutput() ServiceDeploymentControllerPtrOutput
func (ServiceDeploymentControllerPtrOutput) ToServiceDeploymentControllerPtrOutputWithContext ¶
func (o ServiceDeploymentControllerPtrOutput) ToServiceDeploymentControllerPtrOutputWithContext(ctx context.Context) ServiceDeploymentControllerPtrOutput
func (ServiceDeploymentControllerPtrOutput) Type ¶
func (o ServiceDeploymentControllerPtrOutput) Type() pulumi.StringPtrOutput
Type of deployment controller. Valid values: `CODE_DEPLOY`, `ECS`, `EXTERNAL`. Default: `ECS`.
type ServiceInput ¶
type ServiceInput interface { pulumi.Input ToServiceOutput() ServiceOutput ToServiceOutputWithContext(ctx context.Context) ServiceOutput }
type ServiceLoadBalancer ¶
type ServiceLoadBalancer struct { // Name of the container to associate with the load balancer (as it appears in a container definition). ContainerName string `pulumi:"containerName"` // Port on the container to associate with the load balancer. ContainerPort int `pulumi:"containerPort"` // Name of the ELB (Classic) to associate with the service. ElbName *string `pulumi:"elbName"` // ARN of the Load Balancer target group to associate with the service. TargetGroupArn *string `pulumi:"targetGroupArn"` }
type ServiceLoadBalancerArgs ¶
type ServiceLoadBalancerArgs struct { // Name of the container to associate with the load balancer (as it appears in a container definition). ContainerName pulumi.StringInput `pulumi:"containerName"` // Port on the container to associate with the load balancer. ContainerPort pulumi.IntInput `pulumi:"containerPort"` // Name of the ELB (Classic) to associate with the service. ElbName pulumi.StringPtrInput `pulumi:"elbName"` // ARN of the Load Balancer target group to associate with the service. TargetGroupArn pulumi.StringPtrInput `pulumi:"targetGroupArn"` }
func (ServiceLoadBalancerArgs) ElementType ¶
func (ServiceLoadBalancerArgs) ElementType() reflect.Type
func (ServiceLoadBalancerArgs) ToServiceLoadBalancerOutput ¶
func (i ServiceLoadBalancerArgs) ToServiceLoadBalancerOutput() ServiceLoadBalancerOutput
func (ServiceLoadBalancerArgs) ToServiceLoadBalancerOutputWithContext ¶
func (i ServiceLoadBalancerArgs) ToServiceLoadBalancerOutputWithContext(ctx context.Context) ServiceLoadBalancerOutput
type ServiceLoadBalancerArray ¶
type ServiceLoadBalancerArray []ServiceLoadBalancerInput
func (ServiceLoadBalancerArray) ElementType ¶
func (ServiceLoadBalancerArray) ElementType() reflect.Type
func (ServiceLoadBalancerArray) ToServiceLoadBalancerArrayOutput ¶
func (i ServiceLoadBalancerArray) ToServiceLoadBalancerArrayOutput() ServiceLoadBalancerArrayOutput
func (ServiceLoadBalancerArray) ToServiceLoadBalancerArrayOutputWithContext ¶
func (i ServiceLoadBalancerArray) ToServiceLoadBalancerArrayOutputWithContext(ctx context.Context) ServiceLoadBalancerArrayOutput
type ServiceLoadBalancerArrayInput ¶
type ServiceLoadBalancerArrayInput interface { pulumi.Input ToServiceLoadBalancerArrayOutput() ServiceLoadBalancerArrayOutput ToServiceLoadBalancerArrayOutputWithContext(context.Context) ServiceLoadBalancerArrayOutput }
ServiceLoadBalancerArrayInput is an input type that accepts ServiceLoadBalancerArray and ServiceLoadBalancerArrayOutput values. You can construct a concrete instance of `ServiceLoadBalancerArrayInput` via:
ServiceLoadBalancerArray{ ServiceLoadBalancerArgs{...} }
type ServiceLoadBalancerArrayOutput ¶
type ServiceLoadBalancerArrayOutput struct{ *pulumi.OutputState }
func (ServiceLoadBalancerArrayOutput) ElementType ¶
func (ServiceLoadBalancerArrayOutput) ElementType() reflect.Type
func (ServiceLoadBalancerArrayOutput) Index ¶
func (o ServiceLoadBalancerArrayOutput) Index(i pulumi.IntInput) ServiceLoadBalancerOutput
func (ServiceLoadBalancerArrayOutput) ToServiceLoadBalancerArrayOutput ¶
func (o ServiceLoadBalancerArrayOutput) ToServiceLoadBalancerArrayOutput() ServiceLoadBalancerArrayOutput
func (ServiceLoadBalancerArrayOutput) ToServiceLoadBalancerArrayOutputWithContext ¶
func (o ServiceLoadBalancerArrayOutput) ToServiceLoadBalancerArrayOutputWithContext(ctx context.Context) ServiceLoadBalancerArrayOutput
type ServiceLoadBalancerInput ¶
type ServiceLoadBalancerInput interface { pulumi.Input ToServiceLoadBalancerOutput() ServiceLoadBalancerOutput ToServiceLoadBalancerOutputWithContext(context.Context) ServiceLoadBalancerOutput }
ServiceLoadBalancerInput is an input type that accepts ServiceLoadBalancerArgs and ServiceLoadBalancerOutput values. You can construct a concrete instance of `ServiceLoadBalancerInput` via:
ServiceLoadBalancerArgs{...}
type ServiceLoadBalancerOutput ¶
type ServiceLoadBalancerOutput struct{ *pulumi.OutputState }
func (ServiceLoadBalancerOutput) ContainerName ¶
func (o ServiceLoadBalancerOutput) ContainerName() pulumi.StringOutput
Name of the container to associate with the load balancer (as it appears in a container definition).
func (ServiceLoadBalancerOutput) ContainerPort ¶
func (o ServiceLoadBalancerOutput) ContainerPort() pulumi.IntOutput
Port on the container to associate with the load balancer.
func (ServiceLoadBalancerOutput) ElbName ¶
func (o ServiceLoadBalancerOutput) ElbName() pulumi.StringPtrOutput
Name of the ELB (Classic) to associate with the service.
func (ServiceLoadBalancerOutput) ElementType ¶
func (ServiceLoadBalancerOutput) ElementType() reflect.Type
func (ServiceLoadBalancerOutput) TargetGroupArn ¶
func (o ServiceLoadBalancerOutput) TargetGroupArn() pulumi.StringPtrOutput
ARN of the Load Balancer target group to associate with the service.
func (ServiceLoadBalancerOutput) ToServiceLoadBalancerOutput ¶
func (o ServiceLoadBalancerOutput) ToServiceLoadBalancerOutput() ServiceLoadBalancerOutput
func (ServiceLoadBalancerOutput) ToServiceLoadBalancerOutputWithContext ¶
func (o ServiceLoadBalancerOutput) ToServiceLoadBalancerOutputWithContext(ctx context.Context) ServiceLoadBalancerOutput
type ServiceMap ¶
type ServiceMap map[string]ServiceInput
func (ServiceMap) ElementType ¶
func (ServiceMap) ElementType() reflect.Type
func (ServiceMap) ToServiceMapOutput ¶
func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput
func (ServiceMap) ToServiceMapOutputWithContext ¶
func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput
type ServiceMapInput ¶
type ServiceMapInput interface { pulumi.Input ToServiceMapOutput() ServiceMapOutput ToServiceMapOutputWithContext(context.Context) ServiceMapOutput }
ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:
ServiceMap{ "key": ServiceArgs{...} }
type ServiceMapOutput ¶
type ServiceMapOutput struct{ *pulumi.OutputState }
func (ServiceMapOutput) ElementType ¶
func (ServiceMapOutput) ElementType() reflect.Type
func (ServiceMapOutput) MapIndex ¶
func (o ServiceMapOutput) MapIndex(k pulumi.StringInput) ServiceOutput
func (ServiceMapOutput) ToServiceMapOutput ¶
func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput
func (ServiceMapOutput) ToServiceMapOutputWithContext ¶
func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput
type ServiceNetworkConfiguration ¶
type ServiceNetworkConfiguration struct { // Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`. AssignPublicIp *bool `pulumi:"assignPublicIp"` // Security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. SecurityGroups []string `pulumi:"securityGroups"` // Subnets associated with the task or service. Subnets []string `pulumi:"subnets"` }
type ServiceNetworkConfigurationArgs ¶
type ServiceNetworkConfigurationArgs struct { // Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`. AssignPublicIp pulumi.BoolPtrInput `pulumi:"assignPublicIp"` // Security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` // Subnets associated with the task or service. Subnets pulumi.StringArrayInput `pulumi:"subnets"` }
func (ServiceNetworkConfigurationArgs) ElementType ¶
func (ServiceNetworkConfigurationArgs) ElementType() reflect.Type
func (ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationOutput ¶
func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationOutput() ServiceNetworkConfigurationOutput
func (ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationOutputWithContext ¶
func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationOutputWithContext(ctx context.Context) ServiceNetworkConfigurationOutput
func (ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationPtrOutput ¶
func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput
func (ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationPtrOutputWithContext ¶
func (i ServiceNetworkConfigurationArgs) ToServiceNetworkConfigurationPtrOutputWithContext(ctx context.Context) ServiceNetworkConfigurationPtrOutput
type ServiceNetworkConfigurationInput ¶
type ServiceNetworkConfigurationInput interface { pulumi.Input ToServiceNetworkConfigurationOutput() ServiceNetworkConfigurationOutput ToServiceNetworkConfigurationOutputWithContext(context.Context) ServiceNetworkConfigurationOutput }
ServiceNetworkConfigurationInput is an input type that accepts ServiceNetworkConfigurationArgs and ServiceNetworkConfigurationOutput values. You can construct a concrete instance of `ServiceNetworkConfigurationInput` via:
ServiceNetworkConfigurationArgs{...}
type ServiceNetworkConfigurationOutput ¶
type ServiceNetworkConfigurationOutput struct{ *pulumi.OutputState }
func (ServiceNetworkConfigurationOutput) AssignPublicIp ¶
func (o ServiceNetworkConfigurationOutput) AssignPublicIp() pulumi.BoolPtrOutput
Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`.
func (ServiceNetworkConfigurationOutput) ElementType ¶
func (ServiceNetworkConfigurationOutput) ElementType() reflect.Type
func (ServiceNetworkConfigurationOutput) SecurityGroups ¶
func (o ServiceNetworkConfigurationOutput) SecurityGroups() pulumi.StringArrayOutput
Security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.
func (ServiceNetworkConfigurationOutput) Subnets ¶
func (o ServiceNetworkConfigurationOutput) Subnets() pulumi.StringArrayOutput
Subnets associated with the task or service.
func (ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationOutput ¶
func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationOutput() ServiceNetworkConfigurationOutput
func (ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationOutputWithContext ¶
func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationOutputWithContext(ctx context.Context) ServiceNetworkConfigurationOutput
func (ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationPtrOutput ¶
func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput
func (ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationPtrOutputWithContext ¶
func (o ServiceNetworkConfigurationOutput) ToServiceNetworkConfigurationPtrOutputWithContext(ctx context.Context) ServiceNetworkConfigurationPtrOutput
type ServiceNetworkConfigurationPtrInput ¶
type ServiceNetworkConfigurationPtrInput interface { pulumi.Input ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput ToServiceNetworkConfigurationPtrOutputWithContext(context.Context) ServiceNetworkConfigurationPtrOutput }
ServiceNetworkConfigurationPtrInput is an input type that accepts ServiceNetworkConfigurationArgs, ServiceNetworkConfigurationPtr and ServiceNetworkConfigurationPtrOutput values. You can construct a concrete instance of `ServiceNetworkConfigurationPtrInput` via:
ServiceNetworkConfigurationArgs{...} or: nil
func ServiceNetworkConfigurationPtr ¶
func ServiceNetworkConfigurationPtr(v *ServiceNetworkConfigurationArgs) ServiceNetworkConfigurationPtrInput
type ServiceNetworkConfigurationPtrOutput ¶
type ServiceNetworkConfigurationPtrOutput struct{ *pulumi.OutputState }
func (ServiceNetworkConfigurationPtrOutput) AssignPublicIp ¶
func (o ServiceNetworkConfigurationPtrOutput) AssignPublicIp() pulumi.BoolPtrOutput
Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`.
func (ServiceNetworkConfigurationPtrOutput) ElementType ¶
func (ServiceNetworkConfigurationPtrOutput) ElementType() reflect.Type
func (ServiceNetworkConfigurationPtrOutput) SecurityGroups ¶
func (o ServiceNetworkConfigurationPtrOutput) SecurityGroups() pulumi.StringArrayOutput
Security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.
func (ServiceNetworkConfigurationPtrOutput) Subnets ¶
func (o ServiceNetworkConfigurationPtrOutput) Subnets() pulumi.StringArrayOutput
Subnets associated with the task or service.
func (ServiceNetworkConfigurationPtrOutput) ToServiceNetworkConfigurationPtrOutput ¶
func (o ServiceNetworkConfigurationPtrOutput) ToServiceNetworkConfigurationPtrOutput() ServiceNetworkConfigurationPtrOutput
func (ServiceNetworkConfigurationPtrOutput) ToServiceNetworkConfigurationPtrOutputWithContext ¶
func (o ServiceNetworkConfigurationPtrOutput) ToServiceNetworkConfigurationPtrOutputWithContext(ctx context.Context) ServiceNetworkConfigurationPtrOutput
type ServiceOrderedPlacementStrategy ¶
type ServiceOrderedPlacementStrategy struct { // For the `spread` placement strategy, valid values are `instanceId` (or `host`, // which has the same effect), or any platform or custom attribute that is applied to a container instance. // For the `binpack` type, valid values are `memory` and `cpu`. For the `random` type, this attribute is not // needed. For more information, see [Placement Strategy](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PlacementStrategy.html). Field *string `pulumi:"field"` // Type of placement strategy. Must be one of: `binpack`, `random`, or `spread` Type string `pulumi:"type"` }
type ServiceOrderedPlacementStrategyArgs ¶
type ServiceOrderedPlacementStrategyArgs struct { // For the `spread` placement strategy, valid values are `instanceId` (or `host`, // which has the same effect), or any platform or custom attribute that is applied to a container instance. // For the `binpack` type, valid values are `memory` and `cpu`. For the `random` type, this attribute is not // needed. For more information, see [Placement Strategy](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PlacementStrategy.html). Field pulumi.StringPtrInput `pulumi:"field"` // Type of placement strategy. Must be one of: `binpack`, `random`, or `spread` Type pulumi.StringInput `pulumi:"type"` }
func (ServiceOrderedPlacementStrategyArgs) ElementType ¶
func (ServiceOrderedPlacementStrategyArgs) ElementType() reflect.Type
func (ServiceOrderedPlacementStrategyArgs) ToServiceOrderedPlacementStrategyOutput ¶
func (i ServiceOrderedPlacementStrategyArgs) ToServiceOrderedPlacementStrategyOutput() ServiceOrderedPlacementStrategyOutput
func (ServiceOrderedPlacementStrategyArgs) ToServiceOrderedPlacementStrategyOutputWithContext ¶
func (i ServiceOrderedPlacementStrategyArgs) ToServiceOrderedPlacementStrategyOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyOutput
type ServiceOrderedPlacementStrategyArray ¶
type ServiceOrderedPlacementStrategyArray []ServiceOrderedPlacementStrategyInput
func (ServiceOrderedPlacementStrategyArray) ElementType ¶
func (ServiceOrderedPlacementStrategyArray) ElementType() reflect.Type
func (ServiceOrderedPlacementStrategyArray) ToServiceOrderedPlacementStrategyArrayOutput ¶
func (i ServiceOrderedPlacementStrategyArray) ToServiceOrderedPlacementStrategyArrayOutput() ServiceOrderedPlacementStrategyArrayOutput
func (ServiceOrderedPlacementStrategyArray) ToServiceOrderedPlacementStrategyArrayOutputWithContext ¶
func (i ServiceOrderedPlacementStrategyArray) ToServiceOrderedPlacementStrategyArrayOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyArrayOutput
type ServiceOrderedPlacementStrategyArrayInput ¶
type ServiceOrderedPlacementStrategyArrayInput interface { pulumi.Input ToServiceOrderedPlacementStrategyArrayOutput() ServiceOrderedPlacementStrategyArrayOutput ToServiceOrderedPlacementStrategyArrayOutputWithContext(context.Context) ServiceOrderedPlacementStrategyArrayOutput }
ServiceOrderedPlacementStrategyArrayInput is an input type that accepts ServiceOrderedPlacementStrategyArray and ServiceOrderedPlacementStrategyArrayOutput values. You can construct a concrete instance of `ServiceOrderedPlacementStrategyArrayInput` via:
ServiceOrderedPlacementStrategyArray{ ServiceOrderedPlacementStrategyArgs{...} }
type ServiceOrderedPlacementStrategyArrayOutput ¶
type ServiceOrderedPlacementStrategyArrayOutput struct{ *pulumi.OutputState }
func (ServiceOrderedPlacementStrategyArrayOutput) ElementType ¶
func (ServiceOrderedPlacementStrategyArrayOutput) ElementType() reflect.Type
func (ServiceOrderedPlacementStrategyArrayOutput) ToServiceOrderedPlacementStrategyArrayOutput ¶
func (o ServiceOrderedPlacementStrategyArrayOutput) ToServiceOrderedPlacementStrategyArrayOutput() ServiceOrderedPlacementStrategyArrayOutput
func (ServiceOrderedPlacementStrategyArrayOutput) ToServiceOrderedPlacementStrategyArrayOutputWithContext ¶
func (o ServiceOrderedPlacementStrategyArrayOutput) ToServiceOrderedPlacementStrategyArrayOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyArrayOutput
type ServiceOrderedPlacementStrategyInput ¶
type ServiceOrderedPlacementStrategyInput interface { pulumi.Input ToServiceOrderedPlacementStrategyOutput() ServiceOrderedPlacementStrategyOutput ToServiceOrderedPlacementStrategyOutputWithContext(context.Context) ServiceOrderedPlacementStrategyOutput }
ServiceOrderedPlacementStrategyInput is an input type that accepts ServiceOrderedPlacementStrategyArgs and ServiceOrderedPlacementStrategyOutput values. You can construct a concrete instance of `ServiceOrderedPlacementStrategyInput` via:
ServiceOrderedPlacementStrategyArgs{...}
type ServiceOrderedPlacementStrategyOutput ¶
type ServiceOrderedPlacementStrategyOutput struct{ *pulumi.OutputState }
func (ServiceOrderedPlacementStrategyOutput) ElementType ¶
func (ServiceOrderedPlacementStrategyOutput) ElementType() reflect.Type
func (ServiceOrderedPlacementStrategyOutput) Field ¶
func (o ServiceOrderedPlacementStrategyOutput) Field() pulumi.StringPtrOutput
For the `spread` placement strategy, valid values are `instanceId` (or `host`, which has the same effect), or any platform or custom attribute that is applied to a container instance. For the `binpack` type, valid values are `memory` and `cpu`. For the `random` type, this attribute is not needed. For more information, see [Placement Strategy](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PlacementStrategy.html).
func (ServiceOrderedPlacementStrategyOutput) ToServiceOrderedPlacementStrategyOutput ¶
func (o ServiceOrderedPlacementStrategyOutput) ToServiceOrderedPlacementStrategyOutput() ServiceOrderedPlacementStrategyOutput
func (ServiceOrderedPlacementStrategyOutput) ToServiceOrderedPlacementStrategyOutputWithContext ¶
func (o ServiceOrderedPlacementStrategyOutput) ToServiceOrderedPlacementStrategyOutputWithContext(ctx context.Context) ServiceOrderedPlacementStrategyOutput
func (ServiceOrderedPlacementStrategyOutput) Type ¶
func (o ServiceOrderedPlacementStrategyOutput) Type() pulumi.StringOutput
Type of placement strategy. Must be one of: `binpack`, `random`, or `spread`
type ServiceOutput ¶
type ServiceOutput struct{ *pulumi.OutputState }
func (ServiceOutput) CapacityProviderStrategies ¶ added in v5.4.0
func (o ServiceOutput) CapacityProviderStrategies() ServiceCapacityProviderStrategyArrayOutput
Capacity provider strategies to use for the service. Can be one or more. These can be updated without destroying and recreating the service only if `forceNewDeployment = true` and not changing from 0 `capacityProviderStrategy` blocks to greater than 0, or vice versa. See below.
func (ServiceOutput) Cluster ¶ added in v5.4.0
func (o ServiceOutput) Cluster() pulumi.StringOutput
ARN of an ECS cluster.
func (ServiceOutput) DeploymentCircuitBreaker ¶ added in v5.4.0
func (o ServiceOutput) DeploymentCircuitBreaker() ServiceDeploymentCircuitBreakerPtrOutput
Configuration block for deployment circuit breaker. See below.
func (ServiceOutput) DeploymentController ¶ added in v5.4.0
func (o ServiceOutput) DeploymentController() ServiceDeploymentControllerPtrOutput
Configuration block for deployment controller configuration. See below.
func (ServiceOutput) DeploymentMaximumPercent ¶ added in v5.4.0
func (o ServiceOutput) DeploymentMaximumPercent() pulumi.IntPtrOutput
Upper limit (as a percentage of the service's desiredCount) of the number of running tasks that can be running in a service during a deployment. Not valid when using the `DAEMON` scheduling strategy.
func (ServiceOutput) DeploymentMinimumHealthyPercent ¶ added in v5.4.0
func (o ServiceOutput) DeploymentMinimumHealthyPercent() pulumi.IntPtrOutput
Lower limit (as a percentage of the service's desiredCount) of the number of running tasks that must remain running and healthy in a service during a deployment.
func (ServiceOutput) DesiredCount ¶ added in v5.4.0
func (o ServiceOutput) DesiredCount() pulumi.IntPtrOutput
Number of instances of the task definition to place and keep running. Defaults to 0. Do not specify if using the `DAEMON` scheduling strategy.
func (ServiceOutput) ElementType ¶
func (ServiceOutput) ElementType() reflect.Type
func (ServiceOutput) EnableEcsManagedTags ¶ added in v5.4.0
func (o ServiceOutput) EnableEcsManagedTags() pulumi.BoolPtrOutput
Specifies whether to enable Amazon ECS managed tags for the tasks within the service.
func (ServiceOutput) EnableExecuteCommand ¶ added in v5.4.0
func (o ServiceOutput) EnableExecuteCommand() pulumi.BoolPtrOutput
Specifies whether to enable Amazon ECS Exec for the tasks within the service.
func (ServiceOutput) ForceNewDeployment ¶ added in v5.4.0
func (o ServiceOutput) ForceNewDeployment() pulumi.BoolPtrOutput
Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates.
func (ServiceOutput) HealthCheckGracePeriodSeconds ¶ added in v5.4.0
func (o ServiceOutput) HealthCheckGracePeriodSeconds() pulumi.IntPtrOutput
Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers.
func (ServiceOutput) IamRole ¶ added in v5.4.0
func (o ServiceOutput) IamRole() pulumi.StringOutput
ARN of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is required if you are using a load balancer with your service, but only if your task definition does not use the `awsvpc` network mode. If using `awsvpc` network mode, do not specify this role. If your account has already created the Amazon ECS service-linked role, that role is used by default for your service unless you specify a role here.
func (ServiceOutput) LaunchType ¶ added in v5.4.0
func (o ServiceOutput) LaunchType() pulumi.StringOutput
Launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`.
func (ServiceOutput) LoadBalancers ¶ added in v5.4.0
func (o ServiceOutput) LoadBalancers() ServiceLoadBalancerArrayOutput
Configuration block for load balancers. See below.
func (ServiceOutput) Name ¶ added in v5.4.0
func (o ServiceOutput) Name() pulumi.StringOutput
Name of the service (up to 255 letters, numbers, hyphens, and underscores)
func (ServiceOutput) NetworkConfiguration ¶ added in v5.4.0
func (o ServiceOutput) NetworkConfiguration() ServiceNetworkConfigurationPtrOutput
Network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. See below.
func (ServiceOutput) OrderedPlacementStrategies ¶ added in v5.4.0
func (o ServiceOutput) OrderedPlacementStrategies() ServiceOrderedPlacementStrategyArrayOutput
Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. The maximum number of `orderedPlacementStrategy` blocks is `5`. See below.
func (ServiceOutput) PlacementConstraints ¶ added in v5.4.0
func (o ServiceOutput) PlacementConstraints() ServicePlacementConstraintArrayOutput
Rules that are taken into consideration during task placement. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. Maximum number of `placementConstraints` is `10`. See below.
func (ServiceOutput) PlatformVersion ¶ added in v5.4.0
func (o ServiceOutput) PlatformVersion() pulumi.StringOutput
Platform version on which to run your service. Only applicable for `launchType` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
func (ServiceOutput) PropagateTags ¶ added in v5.4.0
func (o ServiceOutput) PropagateTags() pulumi.StringPtrOutput
Specifies whether to propagate the tags from the task definition or the service to the tasks. The valid values are `SERVICE` and `TASK_DEFINITION`.
func (ServiceOutput) SchedulingStrategy ¶ added in v5.4.0
func (o ServiceOutput) SchedulingStrategy() pulumi.StringPtrOutput
Scheduling strategy to use for the service. The valid values are `REPLICA` and `DAEMON`. Defaults to `REPLICA`. Note that [*Tasks using the Fargate launch type or the `CODE_DEPLOY` or `EXTERNAL` deployment controller types don't support the `DAEMON` scheduling strategy*](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html).
func (ServiceOutput) ServiceRegistries ¶ added in v5.4.0
func (o ServiceOutput) ServiceRegistries() ServiceServiceRegistriesPtrOutput
Service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. See below.
func (ServiceOutput) Tags ¶ added in v5.4.0
func (o ServiceOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ServiceOutput) TagsAll ¶ added in v5.4.0
func (o ServiceOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (ServiceOutput) TaskDefinition ¶ added in v5.4.0
func (o ServiceOutput) TaskDefinition() pulumi.StringPtrOutput
Family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used.
func (ServiceOutput) ToServiceOutput ¶
func (o ServiceOutput) ToServiceOutput() ServiceOutput
func (ServiceOutput) ToServiceOutputWithContext ¶
func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
func (ServiceOutput) WaitForSteadyState ¶ added in v5.4.0
func (o ServiceOutput) WaitForSteadyState() pulumi.BoolPtrOutput
If `true`, this provider will wait for the service to reach a steady state (like [`aws ecs wait services-stable`](https://docs.aws.amazon.com/cli/latest/reference/ecs/wait/services-stable.html)) before continuing. Default `false`.
type ServicePlacementConstraint ¶
type ServicePlacementConstraint struct { // Cluster Query Language expression to apply to the constraint. Does not need to be specified for the `distinctInstance` type. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html). Expression *string `pulumi:"expression"` // Type of constraint. The only valid values at this time are `memberOf` and `distinctInstance`. Type string `pulumi:"type"` }
type ServicePlacementConstraintArgs ¶
type ServicePlacementConstraintArgs struct { // Cluster Query Language expression to apply to the constraint. Does not need to be specified for the `distinctInstance` type. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html). Expression pulumi.StringPtrInput `pulumi:"expression"` // Type of constraint. The only valid values at this time are `memberOf` and `distinctInstance`. Type pulumi.StringInput `pulumi:"type"` }
func (ServicePlacementConstraintArgs) ElementType ¶
func (ServicePlacementConstraintArgs) ElementType() reflect.Type
func (ServicePlacementConstraintArgs) ToServicePlacementConstraintOutput ¶
func (i ServicePlacementConstraintArgs) ToServicePlacementConstraintOutput() ServicePlacementConstraintOutput
func (ServicePlacementConstraintArgs) ToServicePlacementConstraintOutputWithContext ¶
func (i ServicePlacementConstraintArgs) ToServicePlacementConstraintOutputWithContext(ctx context.Context) ServicePlacementConstraintOutput
type ServicePlacementConstraintArray ¶
type ServicePlacementConstraintArray []ServicePlacementConstraintInput
func (ServicePlacementConstraintArray) ElementType ¶
func (ServicePlacementConstraintArray) ElementType() reflect.Type
func (ServicePlacementConstraintArray) ToServicePlacementConstraintArrayOutput ¶
func (i ServicePlacementConstraintArray) ToServicePlacementConstraintArrayOutput() ServicePlacementConstraintArrayOutput
func (ServicePlacementConstraintArray) ToServicePlacementConstraintArrayOutputWithContext ¶
func (i ServicePlacementConstraintArray) ToServicePlacementConstraintArrayOutputWithContext(ctx context.Context) ServicePlacementConstraintArrayOutput
type ServicePlacementConstraintArrayInput ¶
type ServicePlacementConstraintArrayInput interface { pulumi.Input ToServicePlacementConstraintArrayOutput() ServicePlacementConstraintArrayOutput ToServicePlacementConstraintArrayOutputWithContext(context.Context) ServicePlacementConstraintArrayOutput }
ServicePlacementConstraintArrayInput is an input type that accepts ServicePlacementConstraintArray and ServicePlacementConstraintArrayOutput values. You can construct a concrete instance of `ServicePlacementConstraintArrayInput` via:
ServicePlacementConstraintArray{ ServicePlacementConstraintArgs{...} }
type ServicePlacementConstraintArrayOutput ¶
type ServicePlacementConstraintArrayOutput struct{ *pulumi.OutputState }
func (ServicePlacementConstraintArrayOutput) ElementType ¶
func (ServicePlacementConstraintArrayOutput) ElementType() reflect.Type
func (ServicePlacementConstraintArrayOutput) Index ¶
func (o ServicePlacementConstraintArrayOutput) Index(i pulumi.IntInput) ServicePlacementConstraintOutput
func (ServicePlacementConstraintArrayOutput) ToServicePlacementConstraintArrayOutput ¶
func (o ServicePlacementConstraintArrayOutput) ToServicePlacementConstraintArrayOutput() ServicePlacementConstraintArrayOutput
func (ServicePlacementConstraintArrayOutput) ToServicePlacementConstraintArrayOutputWithContext ¶
func (o ServicePlacementConstraintArrayOutput) ToServicePlacementConstraintArrayOutputWithContext(ctx context.Context) ServicePlacementConstraintArrayOutput
type ServicePlacementConstraintInput ¶
type ServicePlacementConstraintInput interface { pulumi.Input ToServicePlacementConstraintOutput() ServicePlacementConstraintOutput ToServicePlacementConstraintOutputWithContext(context.Context) ServicePlacementConstraintOutput }
ServicePlacementConstraintInput is an input type that accepts ServicePlacementConstraintArgs and ServicePlacementConstraintOutput values. You can construct a concrete instance of `ServicePlacementConstraintInput` via:
ServicePlacementConstraintArgs{...}
type ServicePlacementConstraintOutput ¶
type ServicePlacementConstraintOutput struct{ *pulumi.OutputState }
func (ServicePlacementConstraintOutput) ElementType ¶
func (ServicePlacementConstraintOutput) ElementType() reflect.Type
func (ServicePlacementConstraintOutput) Expression ¶
func (o ServicePlacementConstraintOutput) Expression() pulumi.StringPtrOutput
Cluster Query Language expression to apply to the constraint. Does not need to be specified for the `distinctInstance` type. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html).
func (ServicePlacementConstraintOutput) ToServicePlacementConstraintOutput ¶
func (o ServicePlacementConstraintOutput) ToServicePlacementConstraintOutput() ServicePlacementConstraintOutput
func (ServicePlacementConstraintOutput) ToServicePlacementConstraintOutputWithContext ¶
func (o ServicePlacementConstraintOutput) ToServicePlacementConstraintOutputWithContext(ctx context.Context) ServicePlacementConstraintOutput
func (ServicePlacementConstraintOutput) Type ¶
func (o ServicePlacementConstraintOutput) Type() pulumi.StringOutput
Type of constraint. The only valid values at this time are `memberOf` and `distinctInstance`.
type ServiceServiceRegistries ¶
type ServiceServiceRegistries struct { // Container name value, already specified in the task definition, to be used for your service discovery service. ContainerName *string `pulumi:"containerName"` // Port value, already specified in the task definition, to be used for your service discovery service. ContainerPort *int `pulumi:"containerPort"` // Port value used if your Service Discovery service specified an SRV record. Port *int `pulumi:"port"` // ARN of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service(`servicediscovery.Service`). For more information, see [Service](https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html) RegistryArn string `pulumi:"registryArn"` }
type ServiceServiceRegistriesArgs ¶
type ServiceServiceRegistriesArgs struct { // Container name value, already specified in the task definition, to be used for your service discovery service. ContainerName pulumi.StringPtrInput `pulumi:"containerName"` // Port value, already specified in the task definition, to be used for your service discovery service. ContainerPort pulumi.IntPtrInput `pulumi:"containerPort"` // Port value used if your Service Discovery service specified an SRV record. Port pulumi.IntPtrInput `pulumi:"port"` // ARN of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service(`servicediscovery.Service`). For more information, see [Service](https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html) RegistryArn pulumi.StringInput `pulumi:"registryArn"` }
func (ServiceServiceRegistriesArgs) ElementType ¶
func (ServiceServiceRegistriesArgs) ElementType() reflect.Type
func (ServiceServiceRegistriesArgs) ToServiceServiceRegistriesOutput ¶
func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesOutput() ServiceServiceRegistriesOutput
func (ServiceServiceRegistriesArgs) ToServiceServiceRegistriesOutputWithContext ¶
func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesOutputWithContext(ctx context.Context) ServiceServiceRegistriesOutput
func (ServiceServiceRegistriesArgs) ToServiceServiceRegistriesPtrOutput ¶
func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput
func (ServiceServiceRegistriesArgs) ToServiceServiceRegistriesPtrOutputWithContext ¶
func (i ServiceServiceRegistriesArgs) ToServiceServiceRegistriesPtrOutputWithContext(ctx context.Context) ServiceServiceRegistriesPtrOutput
type ServiceServiceRegistriesInput ¶
type ServiceServiceRegistriesInput interface { pulumi.Input ToServiceServiceRegistriesOutput() ServiceServiceRegistriesOutput ToServiceServiceRegistriesOutputWithContext(context.Context) ServiceServiceRegistriesOutput }
ServiceServiceRegistriesInput is an input type that accepts ServiceServiceRegistriesArgs and ServiceServiceRegistriesOutput values. You can construct a concrete instance of `ServiceServiceRegistriesInput` via:
ServiceServiceRegistriesArgs{...}
type ServiceServiceRegistriesOutput ¶
type ServiceServiceRegistriesOutput struct{ *pulumi.OutputState }
func (ServiceServiceRegistriesOutput) ContainerName ¶
func (o ServiceServiceRegistriesOutput) ContainerName() pulumi.StringPtrOutput
Container name value, already specified in the task definition, to be used for your service discovery service.
func (ServiceServiceRegistriesOutput) ContainerPort ¶
func (o ServiceServiceRegistriesOutput) ContainerPort() pulumi.IntPtrOutput
Port value, already specified in the task definition, to be used for your service discovery service.
func (ServiceServiceRegistriesOutput) ElementType ¶
func (ServiceServiceRegistriesOutput) ElementType() reflect.Type
func (ServiceServiceRegistriesOutput) Port ¶
func (o ServiceServiceRegistriesOutput) Port() pulumi.IntPtrOutput
Port value used if your Service Discovery service specified an SRV record.
func (ServiceServiceRegistriesOutput) RegistryArn ¶
func (o ServiceServiceRegistriesOutput) RegistryArn() pulumi.StringOutput
ARN of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service(`servicediscovery.Service`). For more information, see Service(https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html)
func (ServiceServiceRegistriesOutput) ToServiceServiceRegistriesOutput ¶
func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesOutput() ServiceServiceRegistriesOutput
func (ServiceServiceRegistriesOutput) ToServiceServiceRegistriesOutputWithContext ¶
func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesOutputWithContext(ctx context.Context) ServiceServiceRegistriesOutput
func (ServiceServiceRegistriesOutput) ToServiceServiceRegistriesPtrOutput ¶
func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput
func (ServiceServiceRegistriesOutput) ToServiceServiceRegistriesPtrOutputWithContext ¶
func (o ServiceServiceRegistriesOutput) ToServiceServiceRegistriesPtrOutputWithContext(ctx context.Context) ServiceServiceRegistriesPtrOutput
type ServiceServiceRegistriesPtrInput ¶
type ServiceServiceRegistriesPtrInput interface { pulumi.Input ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput ToServiceServiceRegistriesPtrOutputWithContext(context.Context) ServiceServiceRegistriesPtrOutput }
ServiceServiceRegistriesPtrInput is an input type that accepts ServiceServiceRegistriesArgs, ServiceServiceRegistriesPtr and ServiceServiceRegistriesPtrOutput values. You can construct a concrete instance of `ServiceServiceRegistriesPtrInput` via:
ServiceServiceRegistriesArgs{...} or: nil
func ServiceServiceRegistriesPtr ¶
func ServiceServiceRegistriesPtr(v *ServiceServiceRegistriesArgs) ServiceServiceRegistriesPtrInput
type ServiceServiceRegistriesPtrOutput ¶
type ServiceServiceRegistriesPtrOutput struct{ *pulumi.OutputState }
func (ServiceServiceRegistriesPtrOutput) ContainerName ¶
func (o ServiceServiceRegistriesPtrOutput) ContainerName() pulumi.StringPtrOutput
Container name value, already specified in the task definition, to be used for your service discovery service.
func (ServiceServiceRegistriesPtrOutput) ContainerPort ¶
func (o ServiceServiceRegistriesPtrOutput) ContainerPort() pulumi.IntPtrOutput
Port value, already specified in the task definition, to be used for your service discovery service.
func (ServiceServiceRegistriesPtrOutput) Elem ¶
func (o ServiceServiceRegistriesPtrOutput) Elem() ServiceServiceRegistriesOutput
func (ServiceServiceRegistriesPtrOutput) ElementType ¶
func (ServiceServiceRegistriesPtrOutput) ElementType() reflect.Type
func (ServiceServiceRegistriesPtrOutput) Port ¶
func (o ServiceServiceRegistriesPtrOutput) Port() pulumi.IntPtrOutput
Port value used if your Service Discovery service specified an SRV record.
func (ServiceServiceRegistriesPtrOutput) RegistryArn ¶
func (o ServiceServiceRegistriesPtrOutput) RegistryArn() pulumi.StringPtrOutput
ARN of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service(`servicediscovery.Service`). For more information, see Service(https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html)
func (ServiceServiceRegistriesPtrOutput) ToServiceServiceRegistriesPtrOutput ¶
func (o ServiceServiceRegistriesPtrOutput) ToServiceServiceRegistriesPtrOutput() ServiceServiceRegistriesPtrOutput
func (ServiceServiceRegistriesPtrOutput) ToServiceServiceRegistriesPtrOutputWithContext ¶
func (o ServiceServiceRegistriesPtrOutput) ToServiceServiceRegistriesPtrOutputWithContext(ctx context.Context) ServiceServiceRegistriesPtrOutput
type ServiceState ¶
type ServiceState struct { // Capacity provider strategies to use for the service. Can be one or more. These can be updated without destroying and recreating the service only if `forceNewDeployment = true` and not changing from 0 `capacityProviderStrategy` blocks to greater than 0, or vice versa. See below. CapacityProviderStrategies ServiceCapacityProviderStrategyArrayInput // ARN of an ECS cluster. Cluster pulumi.StringPtrInput // Configuration block for deployment circuit breaker. See below. DeploymentCircuitBreaker ServiceDeploymentCircuitBreakerPtrInput // Configuration block for deployment controller configuration. See below. DeploymentController ServiceDeploymentControllerPtrInput // Upper limit (as a percentage of the service's desiredCount) of the number of running tasks that can be running in a service during a deployment. Not valid when using the `DAEMON` scheduling strategy. DeploymentMaximumPercent pulumi.IntPtrInput // Lower limit (as a percentage of the service's desiredCount) of the number of running tasks that must remain running and healthy in a service during a deployment. DeploymentMinimumHealthyPercent pulumi.IntPtrInput // Number of instances of the task definition to place and keep running. Defaults to 0. Do not specify if using the `DAEMON` scheduling strategy. DesiredCount pulumi.IntPtrInput // Specifies whether to enable Amazon ECS managed tags for the tasks within the service. EnableEcsManagedTags pulumi.BoolPtrInput // Specifies whether to enable Amazon ECS Exec for the tasks within the service. EnableExecuteCommand pulumi.BoolPtrInput // Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates. ForceNewDeployment pulumi.BoolPtrInput // Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers. HealthCheckGracePeriodSeconds pulumi.IntPtrInput // ARN of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is required if you are using a load balancer with your service, but only if your task definition does not use the `awsvpc` network mode. If using `awsvpc` network mode, do not specify this role. If your account has already created the Amazon ECS service-linked role, that role is used by default for your service unless you specify a role here. IamRole pulumi.StringPtrInput // Launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`. LaunchType pulumi.StringPtrInput // Configuration block for load balancers. See below. LoadBalancers ServiceLoadBalancerArrayInput // Name of the service (up to 255 letters, numbers, hyphens, and underscores) Name pulumi.StringPtrInput // Network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. See below. NetworkConfiguration ServiceNetworkConfigurationPtrInput // Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. The maximum number of `orderedPlacementStrategy` blocks is `5`. See below. OrderedPlacementStrategies ServiceOrderedPlacementStrategyArrayInput // Rules that are taken into consideration during task placement. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. Maximum number of `placementConstraints` is `10`. See below. PlacementConstraints ServicePlacementConstraintArrayInput // Platform version on which to run your service. Only applicable for `launchType` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html). PlatformVersion pulumi.StringPtrInput // Specifies whether to propagate the tags from the task definition or the service to the tasks. The valid values are `SERVICE` and `TASK_DEFINITION`. PropagateTags pulumi.StringPtrInput // Scheduling strategy to use for the service. The valid values are `REPLICA` and `DAEMON`. Defaults to `REPLICA`. Note that [*Tasks using the Fargate launch type or the `CODE_DEPLOY` or `EXTERNAL` deployment controller types don't support the `DAEMON` scheduling strategy*](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html). SchedulingStrategy pulumi.StringPtrInput // Service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. See below. ServiceRegistries ServiceServiceRegistriesPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput // Family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used. TaskDefinition pulumi.StringPtrInput // If `true`, this provider will wait for the service to reach a steady state (like [`aws ecs wait services-stable`](https://docs.aws.amazon.com/cli/latest/reference/ecs/wait/services-stable.html)) before continuing. Default `false`. WaitForSteadyState pulumi.BoolPtrInput }
func (ServiceState) ElementType ¶
func (ServiceState) ElementType() reflect.Type
type Tag ¶
type Tag struct { pulumi.CustomResourceState // Tag name. Key pulumi.StringOutput `pulumi:"key"` // Amazon Resource Name (ARN) of the ECS resource to tag. ResourceArn pulumi.StringOutput `pulumi:"resourceArn"` // Tag value. Value pulumi.StringOutput `pulumi:"value"` }
Manages an individual ECS resource tag. This resource should only be used in cases where ECS resources are created outside the provider (e.g., ECS Clusters implicitly created by Batch Compute Environments).
> **NOTE:** This tagging resource should not be combined with the resource for managing the parent resource. For example, using `ecs.Cluster` and `ecs.Tag` to manage tags of the same ECS Cluster will cause a perpetual difference where the `ecs.Cluster` resource will try to remove the tag being added by the `ecs.Tag` resource.
> **NOTE:** This tagging resource does not use the provider `ignoreTags` configuration.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/batch" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleComputeEnvironment, err := batch.NewComputeEnvironment(ctx, "exampleComputeEnvironment", &batch.ComputeEnvironmentArgs{ ComputeEnvironmentName: pulumi.String("example"), ServiceRole: pulumi.Any(aws_iam_role.Example.Arn), Type: pulumi.String("UNMANAGED"), }) if err != nil { return err } _, err = ecs.NewTag(ctx, "exampleTag", &ecs.TagArgs{ ResourceArn: exampleComputeEnvironment.EcsClusterArn, Key: pulumi.String("Name"), Value: pulumi.String("Hello World"), }) if err != nil { return err } return nil }) }
```
## Import
`aws_ecs_tag` can be imported by using the ECS resource identifier and key, separated by a comma (`,`), e.g.,
```sh
$ pulumi import aws:ecs/tag:Tag example arn:aws:ecs:us-east-1:123456789012:cluster/example,Name
```
func GetTag ¶
func GetTag(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TagState, opts ...pulumi.ResourceOption) (*Tag, error)
GetTag gets an existing Tag resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTag ¶
func NewTag(ctx *pulumi.Context, name string, args *TagArgs, opts ...pulumi.ResourceOption) (*Tag, error)
NewTag registers a new resource with the given unique name, arguments, and options.
func (*Tag) ElementType ¶
func (*Tag) ToTagOutput ¶
type TagArgs ¶
type TagArgs struct { // Tag name. Key pulumi.StringInput // Amazon Resource Name (ARN) of the ECS resource to tag. ResourceArn pulumi.StringInput // Tag value. Value pulumi.StringInput }
The set of arguments for constructing a Tag resource.
func (TagArgs) ElementType ¶
type TagArray ¶
type TagArray []TagInput
func (TagArray) ElementType ¶
func (TagArray) ToTagArrayOutput ¶
func (i TagArray) ToTagArrayOutput() TagArrayOutput
func (TagArray) ToTagArrayOutputWithContext ¶
func (i TagArray) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutput
type TagArrayInput ¶
type TagArrayInput interface { pulumi.Input ToTagArrayOutput() TagArrayOutput ToTagArrayOutputWithContext(context.Context) TagArrayOutput }
TagArrayInput is an input type that accepts TagArray and TagArrayOutput values. You can construct a concrete instance of `TagArrayInput` via:
TagArray{ TagArgs{...} }
type TagArrayOutput ¶
type TagArrayOutput struct{ *pulumi.OutputState }
func (TagArrayOutput) ElementType ¶
func (TagArrayOutput) ElementType() reflect.Type
func (TagArrayOutput) ToTagArrayOutput ¶
func (o TagArrayOutput) ToTagArrayOutput() TagArrayOutput
func (TagArrayOutput) ToTagArrayOutputWithContext ¶
func (o TagArrayOutput) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutput
type TagMap ¶
func (TagMap) ElementType ¶
func (TagMap) ToTagMapOutput ¶
func (i TagMap) ToTagMapOutput() TagMapOutput
func (TagMap) ToTagMapOutputWithContext ¶
func (i TagMap) ToTagMapOutputWithContext(ctx context.Context) TagMapOutput
type TagMapInput ¶
type TagMapInput interface { pulumi.Input ToTagMapOutput() TagMapOutput ToTagMapOutputWithContext(context.Context) TagMapOutput }
TagMapInput is an input type that accepts TagMap and TagMapOutput values. You can construct a concrete instance of `TagMapInput` via:
TagMap{ "key": TagArgs{...} }
type TagMapOutput ¶
type TagMapOutput struct{ *pulumi.OutputState }
func (TagMapOutput) ElementType ¶
func (TagMapOutput) ElementType() reflect.Type
func (TagMapOutput) MapIndex ¶
func (o TagMapOutput) MapIndex(k pulumi.StringInput) TagOutput
func (TagMapOutput) ToTagMapOutput ¶
func (o TagMapOutput) ToTagMapOutput() TagMapOutput
func (TagMapOutput) ToTagMapOutputWithContext ¶
func (o TagMapOutput) ToTagMapOutputWithContext(ctx context.Context) TagMapOutput
type TagOutput ¶
type TagOutput struct{ *pulumi.OutputState }
func (TagOutput) ElementType ¶
func (TagOutput) ResourceArn ¶ added in v5.4.0
func (o TagOutput) ResourceArn() pulumi.StringOutput
Amazon Resource Name (ARN) of the ECS resource to tag.
func (TagOutput) ToTagOutput ¶
func (TagOutput) ToTagOutputWithContext ¶
type TagState ¶
type TagState struct { // Tag name. Key pulumi.StringPtrInput // Amazon Resource Name (ARN) of the ECS resource to tag. ResourceArn pulumi.StringPtrInput // Tag value. Value pulumi.StringPtrInput }
func (TagState) ElementType ¶
type TaskDefinition ¶
type TaskDefinition struct { pulumi.CustomResourceState // Full ARN of the Task Definition (including both `family` and `revision`). Arn pulumi.StringOutput `pulumi:"arn"` // A list of valid [container definitions](http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html) provided as a single valid JSON document. Please note that you should only provide values that are part of the container definition document. For a detailed description of what parameters are available, see the [Task Definition Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html) section from the official [Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide). ContainerDefinitions pulumi.StringOutput `pulumi:"containerDefinitions"` // Number of cpu units used by the task. If the `requiresCompatibilities` is `FARGATE` this field is required. Cpu pulumi.StringPtrOutput `pulumi:"cpu"` // The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. See Ephemeral Storage. EphemeralStorage TaskDefinitionEphemeralStoragePtrOutput `pulumi:"ephemeralStorage"` // ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume. ExecutionRoleArn pulumi.StringPtrOutput `pulumi:"executionRoleArn"` // A unique name for your task definition. Family pulumi.StringOutput `pulumi:"family"` // Configuration block(s) with Inference Accelerators settings. Detailed below. InferenceAccelerators TaskDefinitionInferenceAcceleratorArrayOutput `pulumi:"inferenceAccelerators"` // IPC resource namespace to be used for the containers in the task The valid values are `host`, `task`, and `none`. IpcMode pulumi.StringPtrOutput `pulumi:"ipcMode"` // Amount (in MiB) of memory used by the task. If the `requiresCompatibilities` is `FARGATE` this field is required. Memory pulumi.StringPtrOutput `pulumi:"memory"` // Docker networking mode to use for the containers in the task. Valid values are `none`, `bridge`, `awsvpc`, and `host`. NetworkMode pulumi.StringOutput `pulumi:"networkMode"` // Process namespace to use for the containers in the task. The valid values are `host` and `task`. PidMode pulumi.StringPtrOutput `pulumi:"pidMode"` // Configuration block for rules that are taken into consideration during task placement. Maximum number of `placementConstraints` is `10`. Detailed below. PlacementConstraints TaskDefinitionPlacementConstraintArrayOutput `pulumi:"placementConstraints"` // Configuration block for the App Mesh proxy. Detailed below. ProxyConfiguration TaskDefinitionProxyConfigurationPtrOutput `pulumi:"proxyConfiguration"` // Set of launch types required by the task. The valid values are `EC2` and `FARGATE`. RequiresCompatibilities pulumi.StringArrayOutput `pulumi:"requiresCompatibilities"` // Revision of the task in a particular family. Revision pulumi.IntOutput `pulumi:"revision"` // Configuration block for runtimePlatform that containers in your task may use. RuntimePlatform TaskDefinitionRuntimePlatformPtrOutput `pulumi:"runtimePlatform"` // Whether to retain the old revision when the resource is destroyed or replacement is necessary. Default is `false`. SkipDestroy pulumi.BoolPtrOutput `pulumi:"skipDestroy"` // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services. TaskRoleArn pulumi.StringPtrOutput `pulumi:"taskRoleArn"` // Configuration block for volumes that containers in your task may use. Detailed below. Volumes TaskDefinitionVolumeArrayOutput `pulumi:"volumes"` }
Manages a revision of an ECS task definition to be used in `ecs.Service`.
## Example Usage ### Basic Example
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { tmpJSON0, err := json.Marshal([]interface{}{ map[string]interface{}{ "name": "first", "image": "service-first", "cpu": 10, "memory": 512, "essential": true, "portMappings": []map[string]interface{}{ map[string]interface{}{ "containerPort": 80, "hostPort": 80, }, }, }, map[string]interface{}{ "name": "second", "image": "service-second", "cpu": 10, "memory": 256, "essential": true, "portMappings": []map[string]interface{}{ map[string]interface{}{ "containerPort": 443, "hostPort": 443, }, }, }, }) if err != nil { return err } json0 := string(tmpJSON0) _, err = ecs.NewTaskDefinition(ctx, "service", &ecs.TaskDefinitionArgs{ Family: pulumi.String("service"), ContainerDefinitions: pulumi.String(json0), Volumes: ecs.TaskDefinitionVolumeArray{ &ecs.TaskDefinitionVolumeArgs{ Name: pulumi.String("service-storage"), HostPath: pulumi.String("/ecs/service-storage"), }, }, PlacementConstraints: ecs.TaskDefinitionPlacementConstraintArray{ &ecs.TaskDefinitionPlacementConstraintArgs{ Type: pulumi.String("memberOf"), Expression: pulumi.String("attribute:ecs.availability-zone in [us-west-2a, us-west-2b]"), }, }, }) if err != nil { return err } return nil }) }
``` ### With AppMesh Proxy
```go package main
import (
"io/ioutil" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := ioutil.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewTaskDefinition(ctx, "service", &ecs.TaskDefinitionArgs{ Family: pulumi.String("service"), ContainerDefinitions: readFileOrPanic("task-definitions/service.json"), ProxyConfiguration: &ecs.TaskDefinitionProxyConfigurationArgs{ Type: pulumi.String("APPMESH"), ContainerName: pulumi.String("applicationContainerName"), Properties: pulumi.StringMap{ "AppPorts": pulumi.String("8080"), "EgressIgnoredIPs": pulumi.String("169.254.170.2,169.254.169.254"), "IgnoredUID": pulumi.String("1337"), "ProxyEgressPort": pulumi.String("15001"), "ProxyIngressPort": pulumi.String("15000"), }, }, }) if err != nil { return err } return nil }) }
``` ### Example Using `dockerVolumeConfiguration`
```go package main
import (
"fmt" "io/ioutil" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := ioutil.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewTaskDefinition(ctx, "service", &ecs.TaskDefinitionArgs{ Family: pulumi.String("service"), ContainerDefinitions: readFileOrPanic("task-definitions/service.json"), Volumes: ecs.TaskDefinitionVolumeArray{ &ecs.TaskDefinitionVolumeArgs{ Name: pulumi.String("service-storage"), DockerVolumeConfiguration: &ecs.TaskDefinitionVolumeDockerVolumeConfigurationArgs{ Scope: pulumi.String("shared"), Autoprovision: pulumi.Bool(true), Driver: pulumi.String("local"), DriverOpts: pulumi.StringMap{ "type": pulumi.String("nfs"), "device": pulumi.String(fmt.Sprintf("%v:/", aws_efs_file_system.Fs.Dns_name)), "o": pulumi.String(fmt.Sprintf("addr=%v,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport", aws_efs_file_system.Fs.Dns_name)), }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Example Using `efsVolumeConfiguration`
```go package main
import (
"io/ioutil" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := ioutil.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewTaskDefinition(ctx, "service", &ecs.TaskDefinitionArgs{ Family: pulumi.String("service"), ContainerDefinitions: readFileOrPanic("task-definitions/service.json"), Volumes: ecs.TaskDefinitionVolumeArray{ &ecs.TaskDefinitionVolumeArgs{ Name: pulumi.String("service-storage"), EfsVolumeConfiguration: &ecs.TaskDefinitionVolumeEfsVolumeConfigurationArgs{ FileSystemId: pulumi.Any(aws_efs_file_system.Fs.Id), RootDirectory: pulumi.String("/opt/data"), TransitEncryption: pulumi.String("ENABLED"), TransitEncryptionPort: pulumi.Int(2999), AuthorizationConfig: &ecs.TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs{ AccessPointId: pulumi.Any(aws_efs_access_point.Test.Id), Iam: pulumi.String("ENABLED"), }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Example Using `fsxWindowsFileServerVolumeConfiguration`
```go package main
import (
"encoding/json" "io/ioutil" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/secretsmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := ioutil.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } func main() { pulumi.Run(func(ctx *pulumi.Context) error { tmpJSON0, err := json.Marshal(map[string]interface{}{ "username": "admin", "password": aws_directory_service_directory.Test.Password, }) if err != nil { return err } json0 := string(tmpJSON0) test, err := secretsmanager.NewSecretVersion(ctx, "test", &secretsmanager.SecretVersionArgs{ SecretId: pulumi.Any(aws_secretsmanager_secret.Test.Id), SecretString: pulumi.String(json0), }) if err != nil { return err } _, err = ecs.NewTaskDefinition(ctx, "service", &ecs.TaskDefinitionArgs{ Family: pulumi.String("service"), ContainerDefinitions: readFileOrPanic("task-definitions/service.json"), Volumes: ecs.TaskDefinitionVolumeArray{ &ecs.TaskDefinitionVolumeArgs{ Name: pulumi.String("service-storage"), FsxWindowsFileServerVolumeConfiguration: &ecs.TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs{ FileSystemId: pulumi.Any(aws_fsx_windows_file_system.Test.Id), RootDirectory: pulumi.String("\\data"), AuthorizationConfig: &ecs.TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs{ CredentialsParameter: test.Arn, Domain: pulumi.Any(aws_directory_service_directory.Test.Name), }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Example Using `containerDefinitions` and `inferenceAccelerator`
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewTaskDefinition(ctx, "test", &ecs.TaskDefinitionArgs{ ContainerDefinitions: pulumi.String(fmt.Sprintf(`[ { "cpu": 10, "command": ["sleep", "10"], "entryPoint": ["/"], "environment": [ {"name": "VARNAME", "value": "VARVAL"} ], "essential": true, "image": "jenkins", "memory": 128, "name": "jenkins", "portMappings": [ { "containerPort": 80, "hostPort": 8080 } ], "resourceRequirements":[ { "type":"InferenceAccelerator", "value":"device_1" } ] }
]
`)),
Family: pulumi.String("test"), InferenceAccelerators: ecs.TaskDefinitionInferenceAcceleratorArray{ &ecs.TaskDefinitionInferenceAcceleratorArgs{ DeviceName: pulumi.String("device_1"), DeviceType: pulumi.String("eia1.medium"), }, }, }) if err != nil { return err } return nil }) }
``` ### Example Using `runtimePlatform` and `fargate`
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewTaskDefinition(ctx, "test", &ecs.TaskDefinitionArgs{ ContainerDefinitions: pulumi.String(fmt.Sprintf(`[ { "name": "iis", "image": "mcr.microsoft.com/windows/servercore/iis", "cpu": 1024, "memory": 2048, "essential": true }
]
`)),
Cpu: pulumi.String("1024"), Family: pulumi.String("test"), Memory: pulumi.String("2048"), NetworkMode: pulumi.String("awsvpc"), RequiresCompatibilities: pulumi.StringArray{ pulumi.String("FARGATE"), }, RuntimePlatform: &ecs.TaskDefinitionRuntimePlatformArgs{ CpuArchitecture: pulumi.String("X86_64"), OperatingSystemFamily: pulumi.String("WINDOWS_SERVER_2019_CORE"), }, }) if err != nil { return err } return nil }) }
```
## Import
ECS Task Definitions can be imported via their Amazon Resource Name (ARN)
```sh
$ pulumi import aws:ecs/taskDefinition:TaskDefinition example arn:aws:ecs:us-east-1:012345678910:task-definition/mytaskfamily:123
```
func GetTaskDefinition ¶
func GetTaskDefinition(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TaskDefinitionState, opts ...pulumi.ResourceOption) (*TaskDefinition, error)
GetTaskDefinition gets an existing TaskDefinition resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTaskDefinition ¶
func NewTaskDefinition(ctx *pulumi.Context, name string, args *TaskDefinitionArgs, opts ...pulumi.ResourceOption) (*TaskDefinition, error)
NewTaskDefinition registers a new resource with the given unique name, arguments, and options.
func (*TaskDefinition) ElementType ¶
func (*TaskDefinition) ElementType() reflect.Type
func (*TaskDefinition) ToTaskDefinitionOutput ¶
func (i *TaskDefinition) ToTaskDefinitionOutput() TaskDefinitionOutput
func (*TaskDefinition) ToTaskDefinitionOutputWithContext ¶
func (i *TaskDefinition) ToTaskDefinitionOutputWithContext(ctx context.Context) TaskDefinitionOutput
type TaskDefinitionArgs ¶
type TaskDefinitionArgs struct { // A list of valid [container definitions](http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html) provided as a single valid JSON document. Please note that you should only provide values that are part of the container definition document. For a detailed description of what parameters are available, see the [Task Definition Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html) section from the official [Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide). ContainerDefinitions pulumi.StringInput // Number of cpu units used by the task. If the `requiresCompatibilities` is `FARGATE` this field is required. Cpu pulumi.StringPtrInput // The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. See Ephemeral Storage. EphemeralStorage TaskDefinitionEphemeralStoragePtrInput // ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume. ExecutionRoleArn pulumi.StringPtrInput // A unique name for your task definition. Family pulumi.StringInput // Configuration block(s) with Inference Accelerators settings. Detailed below. InferenceAccelerators TaskDefinitionInferenceAcceleratorArrayInput // IPC resource namespace to be used for the containers in the task The valid values are `host`, `task`, and `none`. IpcMode pulumi.StringPtrInput // Amount (in MiB) of memory used by the task. If the `requiresCompatibilities` is `FARGATE` this field is required. Memory pulumi.StringPtrInput // Docker networking mode to use for the containers in the task. Valid values are `none`, `bridge`, `awsvpc`, and `host`. NetworkMode pulumi.StringPtrInput // Process namespace to use for the containers in the task. The valid values are `host` and `task`. PidMode pulumi.StringPtrInput // Configuration block for rules that are taken into consideration during task placement. Maximum number of `placementConstraints` is `10`. Detailed below. PlacementConstraints TaskDefinitionPlacementConstraintArrayInput // Configuration block for the App Mesh proxy. Detailed below. ProxyConfiguration TaskDefinitionProxyConfigurationPtrInput // Set of launch types required by the task. The valid values are `EC2` and `FARGATE`. RequiresCompatibilities pulumi.StringArrayInput // Configuration block for runtimePlatform that containers in your task may use. RuntimePlatform TaskDefinitionRuntimePlatformPtrInput // Whether to retain the old revision when the resource is destroyed or replacement is necessary. Default is `false`. SkipDestroy pulumi.BoolPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services. TaskRoleArn pulumi.StringPtrInput // Configuration block for volumes that containers in your task may use. Detailed below. Volumes TaskDefinitionVolumeArrayInput }
The set of arguments for constructing a TaskDefinition resource.
func (TaskDefinitionArgs) ElementType ¶
func (TaskDefinitionArgs) ElementType() reflect.Type
type TaskDefinitionArray ¶
type TaskDefinitionArray []TaskDefinitionInput
func (TaskDefinitionArray) ElementType ¶
func (TaskDefinitionArray) ElementType() reflect.Type
func (TaskDefinitionArray) ToTaskDefinitionArrayOutput ¶
func (i TaskDefinitionArray) ToTaskDefinitionArrayOutput() TaskDefinitionArrayOutput
func (TaskDefinitionArray) ToTaskDefinitionArrayOutputWithContext ¶
func (i TaskDefinitionArray) ToTaskDefinitionArrayOutputWithContext(ctx context.Context) TaskDefinitionArrayOutput
type TaskDefinitionArrayInput ¶
type TaskDefinitionArrayInput interface { pulumi.Input ToTaskDefinitionArrayOutput() TaskDefinitionArrayOutput ToTaskDefinitionArrayOutputWithContext(context.Context) TaskDefinitionArrayOutput }
TaskDefinitionArrayInput is an input type that accepts TaskDefinitionArray and TaskDefinitionArrayOutput values. You can construct a concrete instance of `TaskDefinitionArrayInput` via:
TaskDefinitionArray{ TaskDefinitionArgs{...} }
type TaskDefinitionArrayOutput ¶
type TaskDefinitionArrayOutput struct{ *pulumi.OutputState }
func (TaskDefinitionArrayOutput) ElementType ¶
func (TaskDefinitionArrayOutput) ElementType() reflect.Type
func (TaskDefinitionArrayOutput) Index ¶
func (o TaskDefinitionArrayOutput) Index(i pulumi.IntInput) TaskDefinitionOutput
func (TaskDefinitionArrayOutput) ToTaskDefinitionArrayOutput ¶
func (o TaskDefinitionArrayOutput) ToTaskDefinitionArrayOutput() TaskDefinitionArrayOutput
func (TaskDefinitionArrayOutput) ToTaskDefinitionArrayOutputWithContext ¶
func (o TaskDefinitionArrayOutput) ToTaskDefinitionArrayOutputWithContext(ctx context.Context) TaskDefinitionArrayOutput
type TaskDefinitionEphemeralStorage ¶
type TaskDefinitionEphemeralStorage struct { // The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is `21` GiB and the maximum supported value is `200` GiB. SizeInGib int `pulumi:"sizeInGib"` }
type TaskDefinitionEphemeralStorageArgs ¶
type TaskDefinitionEphemeralStorageArgs struct { // The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is `21` GiB and the maximum supported value is `200` GiB. SizeInGib pulumi.IntInput `pulumi:"sizeInGib"` }
func (TaskDefinitionEphemeralStorageArgs) ElementType ¶
func (TaskDefinitionEphemeralStorageArgs) ElementType() reflect.Type
func (TaskDefinitionEphemeralStorageArgs) ToTaskDefinitionEphemeralStorageOutput ¶
func (i TaskDefinitionEphemeralStorageArgs) ToTaskDefinitionEphemeralStorageOutput() TaskDefinitionEphemeralStorageOutput
func (TaskDefinitionEphemeralStorageArgs) ToTaskDefinitionEphemeralStorageOutputWithContext ¶
func (i TaskDefinitionEphemeralStorageArgs) ToTaskDefinitionEphemeralStorageOutputWithContext(ctx context.Context) TaskDefinitionEphemeralStorageOutput
func (TaskDefinitionEphemeralStorageArgs) ToTaskDefinitionEphemeralStoragePtrOutput ¶
func (i TaskDefinitionEphemeralStorageArgs) ToTaskDefinitionEphemeralStoragePtrOutput() TaskDefinitionEphemeralStoragePtrOutput
func (TaskDefinitionEphemeralStorageArgs) ToTaskDefinitionEphemeralStoragePtrOutputWithContext ¶
func (i TaskDefinitionEphemeralStorageArgs) ToTaskDefinitionEphemeralStoragePtrOutputWithContext(ctx context.Context) TaskDefinitionEphemeralStoragePtrOutput
type TaskDefinitionEphemeralStorageInput ¶
type TaskDefinitionEphemeralStorageInput interface { pulumi.Input ToTaskDefinitionEphemeralStorageOutput() TaskDefinitionEphemeralStorageOutput ToTaskDefinitionEphemeralStorageOutputWithContext(context.Context) TaskDefinitionEphemeralStorageOutput }
TaskDefinitionEphemeralStorageInput is an input type that accepts TaskDefinitionEphemeralStorageArgs and TaskDefinitionEphemeralStorageOutput values. You can construct a concrete instance of `TaskDefinitionEphemeralStorageInput` via:
TaskDefinitionEphemeralStorageArgs{...}
type TaskDefinitionEphemeralStorageOutput ¶
type TaskDefinitionEphemeralStorageOutput struct{ *pulumi.OutputState }
func (TaskDefinitionEphemeralStorageOutput) ElementType ¶
func (TaskDefinitionEphemeralStorageOutput) ElementType() reflect.Type
func (TaskDefinitionEphemeralStorageOutput) SizeInGib ¶
func (o TaskDefinitionEphemeralStorageOutput) SizeInGib() pulumi.IntOutput
The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is `21` GiB and the maximum supported value is `200` GiB.
func (TaskDefinitionEphemeralStorageOutput) ToTaskDefinitionEphemeralStorageOutput ¶
func (o TaskDefinitionEphemeralStorageOutput) ToTaskDefinitionEphemeralStorageOutput() TaskDefinitionEphemeralStorageOutput
func (TaskDefinitionEphemeralStorageOutput) ToTaskDefinitionEphemeralStorageOutputWithContext ¶
func (o TaskDefinitionEphemeralStorageOutput) ToTaskDefinitionEphemeralStorageOutputWithContext(ctx context.Context) TaskDefinitionEphemeralStorageOutput
func (TaskDefinitionEphemeralStorageOutput) ToTaskDefinitionEphemeralStoragePtrOutput ¶
func (o TaskDefinitionEphemeralStorageOutput) ToTaskDefinitionEphemeralStoragePtrOutput() TaskDefinitionEphemeralStoragePtrOutput
func (TaskDefinitionEphemeralStorageOutput) ToTaskDefinitionEphemeralStoragePtrOutputWithContext ¶
func (o TaskDefinitionEphemeralStorageOutput) ToTaskDefinitionEphemeralStoragePtrOutputWithContext(ctx context.Context) TaskDefinitionEphemeralStoragePtrOutput
type TaskDefinitionEphemeralStoragePtrInput ¶
type TaskDefinitionEphemeralStoragePtrInput interface { pulumi.Input ToTaskDefinitionEphemeralStoragePtrOutput() TaskDefinitionEphemeralStoragePtrOutput ToTaskDefinitionEphemeralStoragePtrOutputWithContext(context.Context) TaskDefinitionEphemeralStoragePtrOutput }
TaskDefinitionEphemeralStoragePtrInput is an input type that accepts TaskDefinitionEphemeralStorageArgs, TaskDefinitionEphemeralStoragePtr and TaskDefinitionEphemeralStoragePtrOutput values. You can construct a concrete instance of `TaskDefinitionEphemeralStoragePtrInput` via:
TaskDefinitionEphemeralStorageArgs{...} or: nil
func TaskDefinitionEphemeralStoragePtr ¶
func TaskDefinitionEphemeralStoragePtr(v *TaskDefinitionEphemeralStorageArgs) TaskDefinitionEphemeralStoragePtrInput
type TaskDefinitionEphemeralStoragePtrOutput ¶
type TaskDefinitionEphemeralStoragePtrOutput struct{ *pulumi.OutputState }
func (TaskDefinitionEphemeralStoragePtrOutput) ElementType ¶
func (TaskDefinitionEphemeralStoragePtrOutput) ElementType() reflect.Type
func (TaskDefinitionEphemeralStoragePtrOutput) SizeInGib ¶
func (o TaskDefinitionEphemeralStoragePtrOutput) SizeInGib() pulumi.IntPtrOutput
The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is `21` GiB and the maximum supported value is `200` GiB.
func (TaskDefinitionEphemeralStoragePtrOutput) ToTaskDefinitionEphemeralStoragePtrOutput ¶
func (o TaskDefinitionEphemeralStoragePtrOutput) ToTaskDefinitionEphemeralStoragePtrOutput() TaskDefinitionEphemeralStoragePtrOutput
func (TaskDefinitionEphemeralStoragePtrOutput) ToTaskDefinitionEphemeralStoragePtrOutputWithContext ¶
func (o TaskDefinitionEphemeralStoragePtrOutput) ToTaskDefinitionEphemeralStoragePtrOutputWithContext(ctx context.Context) TaskDefinitionEphemeralStoragePtrOutput
type TaskDefinitionInferenceAccelerator ¶
type TaskDefinitionInferenceAccelerator struct { // Elastic Inference accelerator device name. The deviceName must also be referenced in a container definition as a ResourceRequirement. DeviceName string `pulumi:"deviceName"` // Elastic Inference accelerator type to use. DeviceType string `pulumi:"deviceType"` }
type TaskDefinitionInferenceAcceleratorArgs ¶
type TaskDefinitionInferenceAcceleratorArgs struct { // Elastic Inference accelerator device name. The deviceName must also be referenced in a container definition as a ResourceRequirement. DeviceName pulumi.StringInput `pulumi:"deviceName"` // Elastic Inference accelerator type to use. DeviceType pulumi.StringInput `pulumi:"deviceType"` }
func (TaskDefinitionInferenceAcceleratorArgs) ElementType ¶
func (TaskDefinitionInferenceAcceleratorArgs) ElementType() reflect.Type
func (TaskDefinitionInferenceAcceleratorArgs) ToTaskDefinitionInferenceAcceleratorOutput ¶
func (i TaskDefinitionInferenceAcceleratorArgs) ToTaskDefinitionInferenceAcceleratorOutput() TaskDefinitionInferenceAcceleratorOutput
func (TaskDefinitionInferenceAcceleratorArgs) ToTaskDefinitionInferenceAcceleratorOutputWithContext ¶
func (i TaskDefinitionInferenceAcceleratorArgs) ToTaskDefinitionInferenceAcceleratorOutputWithContext(ctx context.Context) TaskDefinitionInferenceAcceleratorOutput
type TaskDefinitionInferenceAcceleratorArray ¶
type TaskDefinitionInferenceAcceleratorArray []TaskDefinitionInferenceAcceleratorInput
func (TaskDefinitionInferenceAcceleratorArray) ElementType ¶
func (TaskDefinitionInferenceAcceleratorArray) ElementType() reflect.Type
func (TaskDefinitionInferenceAcceleratorArray) ToTaskDefinitionInferenceAcceleratorArrayOutput ¶
func (i TaskDefinitionInferenceAcceleratorArray) ToTaskDefinitionInferenceAcceleratorArrayOutput() TaskDefinitionInferenceAcceleratorArrayOutput
func (TaskDefinitionInferenceAcceleratorArray) ToTaskDefinitionInferenceAcceleratorArrayOutputWithContext ¶
func (i TaskDefinitionInferenceAcceleratorArray) ToTaskDefinitionInferenceAcceleratorArrayOutputWithContext(ctx context.Context) TaskDefinitionInferenceAcceleratorArrayOutput
type TaskDefinitionInferenceAcceleratorArrayInput ¶
type TaskDefinitionInferenceAcceleratorArrayInput interface { pulumi.Input ToTaskDefinitionInferenceAcceleratorArrayOutput() TaskDefinitionInferenceAcceleratorArrayOutput ToTaskDefinitionInferenceAcceleratorArrayOutputWithContext(context.Context) TaskDefinitionInferenceAcceleratorArrayOutput }
TaskDefinitionInferenceAcceleratorArrayInput is an input type that accepts TaskDefinitionInferenceAcceleratorArray and TaskDefinitionInferenceAcceleratorArrayOutput values. You can construct a concrete instance of `TaskDefinitionInferenceAcceleratorArrayInput` via:
TaskDefinitionInferenceAcceleratorArray{ TaskDefinitionInferenceAcceleratorArgs{...} }
type TaskDefinitionInferenceAcceleratorArrayOutput ¶
type TaskDefinitionInferenceAcceleratorArrayOutput struct{ *pulumi.OutputState }
func (TaskDefinitionInferenceAcceleratorArrayOutput) ElementType ¶
func (TaskDefinitionInferenceAcceleratorArrayOutput) ElementType() reflect.Type
func (TaskDefinitionInferenceAcceleratorArrayOutput) ToTaskDefinitionInferenceAcceleratorArrayOutput ¶
func (o TaskDefinitionInferenceAcceleratorArrayOutput) ToTaskDefinitionInferenceAcceleratorArrayOutput() TaskDefinitionInferenceAcceleratorArrayOutput
func (TaskDefinitionInferenceAcceleratorArrayOutput) ToTaskDefinitionInferenceAcceleratorArrayOutputWithContext ¶
func (o TaskDefinitionInferenceAcceleratorArrayOutput) ToTaskDefinitionInferenceAcceleratorArrayOutputWithContext(ctx context.Context) TaskDefinitionInferenceAcceleratorArrayOutput
type TaskDefinitionInferenceAcceleratorInput ¶
type TaskDefinitionInferenceAcceleratorInput interface { pulumi.Input ToTaskDefinitionInferenceAcceleratorOutput() TaskDefinitionInferenceAcceleratorOutput ToTaskDefinitionInferenceAcceleratorOutputWithContext(context.Context) TaskDefinitionInferenceAcceleratorOutput }
TaskDefinitionInferenceAcceleratorInput is an input type that accepts TaskDefinitionInferenceAcceleratorArgs and TaskDefinitionInferenceAcceleratorOutput values. You can construct a concrete instance of `TaskDefinitionInferenceAcceleratorInput` via:
TaskDefinitionInferenceAcceleratorArgs{...}
type TaskDefinitionInferenceAcceleratorOutput ¶
type TaskDefinitionInferenceAcceleratorOutput struct{ *pulumi.OutputState }
func (TaskDefinitionInferenceAcceleratorOutput) DeviceName ¶
func (o TaskDefinitionInferenceAcceleratorOutput) DeviceName() pulumi.StringOutput
Elastic Inference accelerator device name. The deviceName must also be referenced in a container definition as a ResourceRequirement.
func (TaskDefinitionInferenceAcceleratorOutput) DeviceType ¶
func (o TaskDefinitionInferenceAcceleratorOutput) DeviceType() pulumi.StringOutput
Elastic Inference accelerator type to use.
func (TaskDefinitionInferenceAcceleratorOutput) ElementType ¶
func (TaskDefinitionInferenceAcceleratorOutput) ElementType() reflect.Type
func (TaskDefinitionInferenceAcceleratorOutput) ToTaskDefinitionInferenceAcceleratorOutput ¶
func (o TaskDefinitionInferenceAcceleratorOutput) ToTaskDefinitionInferenceAcceleratorOutput() TaskDefinitionInferenceAcceleratorOutput
func (TaskDefinitionInferenceAcceleratorOutput) ToTaskDefinitionInferenceAcceleratorOutputWithContext ¶
func (o TaskDefinitionInferenceAcceleratorOutput) ToTaskDefinitionInferenceAcceleratorOutputWithContext(ctx context.Context) TaskDefinitionInferenceAcceleratorOutput
type TaskDefinitionInput ¶
type TaskDefinitionInput interface { pulumi.Input ToTaskDefinitionOutput() TaskDefinitionOutput ToTaskDefinitionOutputWithContext(ctx context.Context) TaskDefinitionOutput }
type TaskDefinitionMap ¶
type TaskDefinitionMap map[string]TaskDefinitionInput
func (TaskDefinitionMap) ElementType ¶
func (TaskDefinitionMap) ElementType() reflect.Type
func (TaskDefinitionMap) ToTaskDefinitionMapOutput ¶
func (i TaskDefinitionMap) ToTaskDefinitionMapOutput() TaskDefinitionMapOutput
func (TaskDefinitionMap) ToTaskDefinitionMapOutputWithContext ¶
func (i TaskDefinitionMap) ToTaskDefinitionMapOutputWithContext(ctx context.Context) TaskDefinitionMapOutput
type TaskDefinitionMapInput ¶
type TaskDefinitionMapInput interface { pulumi.Input ToTaskDefinitionMapOutput() TaskDefinitionMapOutput ToTaskDefinitionMapOutputWithContext(context.Context) TaskDefinitionMapOutput }
TaskDefinitionMapInput is an input type that accepts TaskDefinitionMap and TaskDefinitionMapOutput values. You can construct a concrete instance of `TaskDefinitionMapInput` via:
TaskDefinitionMap{ "key": TaskDefinitionArgs{...} }
type TaskDefinitionMapOutput ¶
type TaskDefinitionMapOutput struct{ *pulumi.OutputState }
func (TaskDefinitionMapOutput) ElementType ¶
func (TaskDefinitionMapOutput) ElementType() reflect.Type
func (TaskDefinitionMapOutput) MapIndex ¶
func (o TaskDefinitionMapOutput) MapIndex(k pulumi.StringInput) TaskDefinitionOutput
func (TaskDefinitionMapOutput) ToTaskDefinitionMapOutput ¶
func (o TaskDefinitionMapOutput) ToTaskDefinitionMapOutput() TaskDefinitionMapOutput
func (TaskDefinitionMapOutput) ToTaskDefinitionMapOutputWithContext ¶
func (o TaskDefinitionMapOutput) ToTaskDefinitionMapOutputWithContext(ctx context.Context) TaskDefinitionMapOutput
type TaskDefinitionOutput ¶
type TaskDefinitionOutput struct{ *pulumi.OutputState }
func (TaskDefinitionOutput) Arn ¶ added in v5.4.0
func (o TaskDefinitionOutput) Arn() pulumi.StringOutput
Full ARN of the Task Definition (including both `family` and `revision`).
func (TaskDefinitionOutput) ContainerDefinitions ¶ added in v5.4.0
func (o TaskDefinitionOutput) ContainerDefinitions() pulumi.StringOutput
A list of valid [container definitions](http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html) provided as a single valid JSON document. Please note that you should only provide values that are part of the container definition document. For a detailed description of what parameters are available, see the [Task Definition Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html) section from the official [Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide).
func (TaskDefinitionOutput) Cpu ¶ added in v5.4.0
func (o TaskDefinitionOutput) Cpu() pulumi.StringPtrOutput
Number of cpu units used by the task. If the `requiresCompatibilities` is `FARGATE` this field is required.
func (TaskDefinitionOutput) ElementType ¶
func (TaskDefinitionOutput) ElementType() reflect.Type
func (TaskDefinitionOutput) EphemeralStorage ¶ added in v5.4.0
func (o TaskDefinitionOutput) EphemeralStorage() TaskDefinitionEphemeralStoragePtrOutput
The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. See Ephemeral Storage.
func (TaskDefinitionOutput) ExecutionRoleArn ¶ added in v5.4.0
func (o TaskDefinitionOutput) ExecutionRoleArn() pulumi.StringPtrOutput
ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
func (TaskDefinitionOutput) Family ¶ added in v5.4.0
func (o TaskDefinitionOutput) Family() pulumi.StringOutput
A unique name for your task definition.
func (TaskDefinitionOutput) InferenceAccelerators ¶ added in v5.4.0
func (o TaskDefinitionOutput) InferenceAccelerators() TaskDefinitionInferenceAcceleratorArrayOutput
Configuration block(s) with Inference Accelerators settings. Detailed below.
func (TaskDefinitionOutput) IpcMode ¶ added in v5.4.0
func (o TaskDefinitionOutput) IpcMode() pulumi.StringPtrOutput
IPC resource namespace to be used for the containers in the task The valid values are `host`, `task`, and `none`.
func (TaskDefinitionOutput) Memory ¶ added in v5.4.0
func (o TaskDefinitionOutput) Memory() pulumi.StringPtrOutput
Amount (in MiB) of memory used by the task. If the `requiresCompatibilities` is `FARGATE` this field is required.
func (TaskDefinitionOutput) NetworkMode ¶ added in v5.4.0
func (o TaskDefinitionOutput) NetworkMode() pulumi.StringOutput
Docker networking mode to use for the containers in the task. Valid values are `none`, `bridge`, `awsvpc`, and `host`.
func (TaskDefinitionOutput) PidMode ¶ added in v5.4.0
func (o TaskDefinitionOutput) PidMode() pulumi.StringPtrOutput
Process namespace to use for the containers in the task. The valid values are `host` and `task`.
func (TaskDefinitionOutput) PlacementConstraints ¶ added in v5.4.0
func (o TaskDefinitionOutput) PlacementConstraints() TaskDefinitionPlacementConstraintArrayOutput
Configuration block for rules that are taken into consideration during task placement. Maximum number of `placementConstraints` is `10`. Detailed below.
func (TaskDefinitionOutput) ProxyConfiguration ¶ added in v5.4.0
func (o TaskDefinitionOutput) ProxyConfiguration() TaskDefinitionProxyConfigurationPtrOutput
Configuration block for the App Mesh proxy. Detailed below.
func (TaskDefinitionOutput) RequiresCompatibilities ¶ added in v5.4.0
func (o TaskDefinitionOutput) RequiresCompatibilities() pulumi.StringArrayOutput
Set of launch types required by the task. The valid values are `EC2` and `FARGATE`.
func (TaskDefinitionOutput) Revision ¶ added in v5.4.0
func (o TaskDefinitionOutput) Revision() pulumi.IntOutput
Revision of the task in a particular family.
func (TaskDefinitionOutput) RuntimePlatform ¶ added in v5.4.0
func (o TaskDefinitionOutput) RuntimePlatform() TaskDefinitionRuntimePlatformPtrOutput
Configuration block for runtimePlatform that containers in your task may use.
func (TaskDefinitionOutput) SkipDestroy ¶ added in v5.4.0
func (o TaskDefinitionOutput) SkipDestroy() pulumi.BoolPtrOutput
Whether to retain the old revision when the resource is destroyed or replacement is necessary. Default is `false`.
func (TaskDefinitionOutput) Tags ¶ added in v5.4.0
func (o TaskDefinitionOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (TaskDefinitionOutput) TagsAll ¶ added in v5.4.0
func (o TaskDefinitionOutput) TagsAll() pulumi.StringMapOutput
Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (TaskDefinitionOutput) TaskRoleArn ¶ added in v5.4.0
func (o TaskDefinitionOutput) TaskRoleArn() pulumi.StringPtrOutput
ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.
func (TaskDefinitionOutput) ToTaskDefinitionOutput ¶
func (o TaskDefinitionOutput) ToTaskDefinitionOutput() TaskDefinitionOutput
func (TaskDefinitionOutput) ToTaskDefinitionOutputWithContext ¶
func (o TaskDefinitionOutput) ToTaskDefinitionOutputWithContext(ctx context.Context) TaskDefinitionOutput
func (TaskDefinitionOutput) Volumes ¶ added in v5.4.0
func (o TaskDefinitionOutput) Volumes() TaskDefinitionVolumeArrayOutput
Configuration block for volumes that containers in your task may use. Detailed below.
type TaskDefinitionPlacementConstraint ¶
type TaskDefinitionPlacementConstraint struct { // Cluster Query Language expression to apply to the constraint. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html). Expression *string `pulumi:"expression"` // Proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`. Type string `pulumi:"type"` }
type TaskDefinitionPlacementConstraintArgs ¶
type TaskDefinitionPlacementConstraintArgs struct { // Cluster Query Language expression to apply to the constraint. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html). Expression pulumi.StringPtrInput `pulumi:"expression"` // Proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`. Type pulumi.StringInput `pulumi:"type"` }
func (TaskDefinitionPlacementConstraintArgs) ElementType ¶
func (TaskDefinitionPlacementConstraintArgs) ElementType() reflect.Type
func (TaskDefinitionPlacementConstraintArgs) ToTaskDefinitionPlacementConstraintOutput ¶
func (i TaskDefinitionPlacementConstraintArgs) ToTaskDefinitionPlacementConstraintOutput() TaskDefinitionPlacementConstraintOutput
func (TaskDefinitionPlacementConstraintArgs) ToTaskDefinitionPlacementConstraintOutputWithContext ¶
func (i TaskDefinitionPlacementConstraintArgs) ToTaskDefinitionPlacementConstraintOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintOutput
type TaskDefinitionPlacementConstraintArray ¶
type TaskDefinitionPlacementConstraintArray []TaskDefinitionPlacementConstraintInput
func (TaskDefinitionPlacementConstraintArray) ElementType ¶
func (TaskDefinitionPlacementConstraintArray) ElementType() reflect.Type
func (TaskDefinitionPlacementConstraintArray) ToTaskDefinitionPlacementConstraintArrayOutput ¶
func (i TaskDefinitionPlacementConstraintArray) ToTaskDefinitionPlacementConstraintArrayOutput() TaskDefinitionPlacementConstraintArrayOutput
func (TaskDefinitionPlacementConstraintArray) ToTaskDefinitionPlacementConstraintArrayOutputWithContext ¶
func (i TaskDefinitionPlacementConstraintArray) ToTaskDefinitionPlacementConstraintArrayOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintArrayOutput
type TaskDefinitionPlacementConstraintArrayInput ¶
type TaskDefinitionPlacementConstraintArrayInput interface { pulumi.Input ToTaskDefinitionPlacementConstraintArrayOutput() TaskDefinitionPlacementConstraintArrayOutput ToTaskDefinitionPlacementConstraintArrayOutputWithContext(context.Context) TaskDefinitionPlacementConstraintArrayOutput }
TaskDefinitionPlacementConstraintArrayInput is an input type that accepts TaskDefinitionPlacementConstraintArray and TaskDefinitionPlacementConstraintArrayOutput values. You can construct a concrete instance of `TaskDefinitionPlacementConstraintArrayInput` via:
TaskDefinitionPlacementConstraintArray{ TaskDefinitionPlacementConstraintArgs{...} }
type TaskDefinitionPlacementConstraintArrayOutput ¶
type TaskDefinitionPlacementConstraintArrayOutput struct{ *pulumi.OutputState }
func (TaskDefinitionPlacementConstraintArrayOutput) ElementType ¶
func (TaskDefinitionPlacementConstraintArrayOutput) ElementType() reflect.Type
func (TaskDefinitionPlacementConstraintArrayOutput) ToTaskDefinitionPlacementConstraintArrayOutput ¶
func (o TaskDefinitionPlacementConstraintArrayOutput) ToTaskDefinitionPlacementConstraintArrayOutput() TaskDefinitionPlacementConstraintArrayOutput
func (TaskDefinitionPlacementConstraintArrayOutput) ToTaskDefinitionPlacementConstraintArrayOutputWithContext ¶
func (o TaskDefinitionPlacementConstraintArrayOutput) ToTaskDefinitionPlacementConstraintArrayOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintArrayOutput
type TaskDefinitionPlacementConstraintInput ¶
type TaskDefinitionPlacementConstraintInput interface { pulumi.Input ToTaskDefinitionPlacementConstraintOutput() TaskDefinitionPlacementConstraintOutput ToTaskDefinitionPlacementConstraintOutputWithContext(context.Context) TaskDefinitionPlacementConstraintOutput }
TaskDefinitionPlacementConstraintInput is an input type that accepts TaskDefinitionPlacementConstraintArgs and TaskDefinitionPlacementConstraintOutput values. You can construct a concrete instance of `TaskDefinitionPlacementConstraintInput` via:
TaskDefinitionPlacementConstraintArgs{...}
type TaskDefinitionPlacementConstraintOutput ¶
type TaskDefinitionPlacementConstraintOutput struct{ *pulumi.OutputState }
func (TaskDefinitionPlacementConstraintOutput) ElementType ¶
func (TaskDefinitionPlacementConstraintOutput) ElementType() reflect.Type
func (TaskDefinitionPlacementConstraintOutput) Expression ¶
func (o TaskDefinitionPlacementConstraintOutput) Expression() pulumi.StringPtrOutput
Cluster Query Language expression to apply to the constraint. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html).
func (TaskDefinitionPlacementConstraintOutput) ToTaskDefinitionPlacementConstraintOutput ¶
func (o TaskDefinitionPlacementConstraintOutput) ToTaskDefinitionPlacementConstraintOutput() TaskDefinitionPlacementConstraintOutput
func (TaskDefinitionPlacementConstraintOutput) ToTaskDefinitionPlacementConstraintOutputWithContext ¶
func (o TaskDefinitionPlacementConstraintOutput) ToTaskDefinitionPlacementConstraintOutputWithContext(ctx context.Context) TaskDefinitionPlacementConstraintOutput
func (TaskDefinitionPlacementConstraintOutput) Type ¶
func (o TaskDefinitionPlacementConstraintOutput) Type() pulumi.StringOutput
Proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.
type TaskDefinitionProxyConfiguration ¶
type TaskDefinitionProxyConfiguration struct { // Name of the container that will serve as the App Mesh proxy. ContainerName string `pulumi:"containerName"` // Set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping. Properties map[string]string `pulumi:"properties"` // Proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`. Type *string `pulumi:"type"` }
type TaskDefinitionProxyConfigurationArgs ¶
type TaskDefinitionProxyConfigurationArgs struct { // Name of the container that will serve as the App Mesh proxy. ContainerName pulumi.StringInput `pulumi:"containerName"` // Set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping. Properties pulumi.StringMapInput `pulumi:"properties"` // Proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`. Type pulumi.StringPtrInput `pulumi:"type"` }
func (TaskDefinitionProxyConfigurationArgs) ElementType ¶
func (TaskDefinitionProxyConfigurationArgs) ElementType() reflect.Type
func (TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationOutput ¶
func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationOutput() TaskDefinitionProxyConfigurationOutput
func (TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationOutputWithContext ¶
func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationOutput
func (TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationPtrOutput ¶
func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput
func (TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationPtrOutputWithContext ¶
func (i TaskDefinitionProxyConfigurationArgs) ToTaskDefinitionProxyConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationPtrOutput
type TaskDefinitionProxyConfigurationInput ¶
type TaskDefinitionProxyConfigurationInput interface { pulumi.Input ToTaskDefinitionProxyConfigurationOutput() TaskDefinitionProxyConfigurationOutput ToTaskDefinitionProxyConfigurationOutputWithContext(context.Context) TaskDefinitionProxyConfigurationOutput }
TaskDefinitionProxyConfigurationInput is an input type that accepts TaskDefinitionProxyConfigurationArgs and TaskDefinitionProxyConfigurationOutput values. You can construct a concrete instance of `TaskDefinitionProxyConfigurationInput` via:
TaskDefinitionProxyConfigurationArgs{...}
type TaskDefinitionProxyConfigurationOutput ¶
type TaskDefinitionProxyConfigurationOutput struct{ *pulumi.OutputState }
func (TaskDefinitionProxyConfigurationOutput) ContainerName ¶
func (o TaskDefinitionProxyConfigurationOutput) ContainerName() pulumi.StringOutput
Name of the container that will serve as the App Mesh proxy.
func (TaskDefinitionProxyConfigurationOutput) ElementType ¶
func (TaskDefinitionProxyConfigurationOutput) ElementType() reflect.Type
func (TaskDefinitionProxyConfigurationOutput) Properties ¶
func (o TaskDefinitionProxyConfigurationOutput) Properties() pulumi.StringMapOutput
Set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
func (TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationOutput ¶
func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationOutput() TaskDefinitionProxyConfigurationOutput
func (TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationOutputWithContext ¶
func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationOutput
func (TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationPtrOutput ¶
func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput
func (TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationPtrOutputWithContext ¶
func (o TaskDefinitionProxyConfigurationOutput) ToTaskDefinitionProxyConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationPtrOutput
func (TaskDefinitionProxyConfigurationOutput) Type ¶
func (o TaskDefinitionProxyConfigurationOutput) Type() pulumi.StringPtrOutput
Proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.
type TaskDefinitionProxyConfigurationPtrInput ¶
type TaskDefinitionProxyConfigurationPtrInput interface { pulumi.Input ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput ToTaskDefinitionProxyConfigurationPtrOutputWithContext(context.Context) TaskDefinitionProxyConfigurationPtrOutput }
TaskDefinitionProxyConfigurationPtrInput is an input type that accepts TaskDefinitionProxyConfigurationArgs, TaskDefinitionProxyConfigurationPtr and TaskDefinitionProxyConfigurationPtrOutput values. You can construct a concrete instance of `TaskDefinitionProxyConfigurationPtrInput` via:
TaskDefinitionProxyConfigurationArgs{...} or: nil
func TaskDefinitionProxyConfigurationPtr ¶
func TaskDefinitionProxyConfigurationPtr(v *TaskDefinitionProxyConfigurationArgs) TaskDefinitionProxyConfigurationPtrInput
type TaskDefinitionProxyConfigurationPtrOutput ¶
type TaskDefinitionProxyConfigurationPtrOutput struct{ *pulumi.OutputState }
func (TaskDefinitionProxyConfigurationPtrOutput) ContainerName ¶
func (o TaskDefinitionProxyConfigurationPtrOutput) ContainerName() pulumi.StringPtrOutput
Name of the container that will serve as the App Mesh proxy.
func (TaskDefinitionProxyConfigurationPtrOutput) ElementType ¶
func (TaskDefinitionProxyConfigurationPtrOutput) ElementType() reflect.Type
func (TaskDefinitionProxyConfigurationPtrOutput) Properties ¶
func (o TaskDefinitionProxyConfigurationPtrOutput) Properties() pulumi.StringMapOutput
Set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
func (TaskDefinitionProxyConfigurationPtrOutput) ToTaskDefinitionProxyConfigurationPtrOutput ¶
func (o TaskDefinitionProxyConfigurationPtrOutput) ToTaskDefinitionProxyConfigurationPtrOutput() TaskDefinitionProxyConfigurationPtrOutput
func (TaskDefinitionProxyConfigurationPtrOutput) ToTaskDefinitionProxyConfigurationPtrOutputWithContext ¶
func (o TaskDefinitionProxyConfigurationPtrOutput) ToTaskDefinitionProxyConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionProxyConfigurationPtrOutput
func (TaskDefinitionProxyConfigurationPtrOutput) Type ¶
func (o TaskDefinitionProxyConfigurationPtrOutput) Type() pulumi.StringPtrOutput
Proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.
type TaskDefinitionRuntimePlatform ¶
type TaskDefinitionRuntimePlatform struct { // Must be set to either `X86_64` or `ARM64`; see [cpu architecture](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform) CpuArchitecture *string `pulumi:"cpuArchitecture"` // If the `requiresCompatibilities` is `FARGATE` this field is required; must be set to a valid option from the [operating system family in the runtime platform](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform) setting OperatingSystemFamily *string `pulumi:"operatingSystemFamily"` }
type TaskDefinitionRuntimePlatformArgs ¶
type TaskDefinitionRuntimePlatformArgs struct { // Must be set to either `X86_64` or `ARM64`; see [cpu architecture](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform) CpuArchitecture pulumi.StringPtrInput `pulumi:"cpuArchitecture"` // If the `requiresCompatibilities` is `FARGATE` this field is required; must be set to a valid option from the [operating system family in the runtime platform](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform) setting OperatingSystemFamily pulumi.StringPtrInput `pulumi:"operatingSystemFamily"` }
func (TaskDefinitionRuntimePlatformArgs) ElementType ¶
func (TaskDefinitionRuntimePlatformArgs) ElementType() reflect.Type
func (TaskDefinitionRuntimePlatformArgs) ToTaskDefinitionRuntimePlatformOutput ¶
func (i TaskDefinitionRuntimePlatformArgs) ToTaskDefinitionRuntimePlatformOutput() TaskDefinitionRuntimePlatformOutput
func (TaskDefinitionRuntimePlatformArgs) ToTaskDefinitionRuntimePlatformOutputWithContext ¶
func (i TaskDefinitionRuntimePlatformArgs) ToTaskDefinitionRuntimePlatformOutputWithContext(ctx context.Context) TaskDefinitionRuntimePlatformOutput
func (TaskDefinitionRuntimePlatformArgs) ToTaskDefinitionRuntimePlatformPtrOutput ¶
func (i TaskDefinitionRuntimePlatformArgs) ToTaskDefinitionRuntimePlatformPtrOutput() TaskDefinitionRuntimePlatformPtrOutput
func (TaskDefinitionRuntimePlatformArgs) ToTaskDefinitionRuntimePlatformPtrOutputWithContext ¶
func (i TaskDefinitionRuntimePlatformArgs) ToTaskDefinitionRuntimePlatformPtrOutputWithContext(ctx context.Context) TaskDefinitionRuntimePlatformPtrOutput
type TaskDefinitionRuntimePlatformInput ¶
type TaskDefinitionRuntimePlatformInput interface { pulumi.Input ToTaskDefinitionRuntimePlatformOutput() TaskDefinitionRuntimePlatformOutput ToTaskDefinitionRuntimePlatformOutputWithContext(context.Context) TaskDefinitionRuntimePlatformOutput }
TaskDefinitionRuntimePlatformInput is an input type that accepts TaskDefinitionRuntimePlatformArgs and TaskDefinitionRuntimePlatformOutput values. You can construct a concrete instance of `TaskDefinitionRuntimePlatformInput` via:
TaskDefinitionRuntimePlatformArgs{...}
type TaskDefinitionRuntimePlatformOutput ¶
type TaskDefinitionRuntimePlatformOutput struct{ *pulumi.OutputState }
func (TaskDefinitionRuntimePlatformOutput) CpuArchitecture ¶
func (o TaskDefinitionRuntimePlatformOutput) CpuArchitecture() pulumi.StringPtrOutput
Must be set to either `X86_64` or `ARM64`; see [cpu architecture](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform)
func (TaskDefinitionRuntimePlatformOutput) ElementType ¶
func (TaskDefinitionRuntimePlatformOutput) ElementType() reflect.Type
func (TaskDefinitionRuntimePlatformOutput) OperatingSystemFamily ¶
func (o TaskDefinitionRuntimePlatformOutput) OperatingSystemFamily() pulumi.StringPtrOutput
If the `requiresCompatibilities` is `FARGATE` this field is required; must be set to a valid option from the [operating system family in the runtime platform](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform) setting
func (TaskDefinitionRuntimePlatformOutput) ToTaskDefinitionRuntimePlatformOutput ¶
func (o TaskDefinitionRuntimePlatformOutput) ToTaskDefinitionRuntimePlatformOutput() TaskDefinitionRuntimePlatformOutput
func (TaskDefinitionRuntimePlatformOutput) ToTaskDefinitionRuntimePlatformOutputWithContext ¶
func (o TaskDefinitionRuntimePlatformOutput) ToTaskDefinitionRuntimePlatformOutputWithContext(ctx context.Context) TaskDefinitionRuntimePlatformOutput
func (TaskDefinitionRuntimePlatformOutput) ToTaskDefinitionRuntimePlatformPtrOutput ¶
func (o TaskDefinitionRuntimePlatformOutput) ToTaskDefinitionRuntimePlatformPtrOutput() TaskDefinitionRuntimePlatformPtrOutput
func (TaskDefinitionRuntimePlatformOutput) ToTaskDefinitionRuntimePlatformPtrOutputWithContext ¶
func (o TaskDefinitionRuntimePlatformOutput) ToTaskDefinitionRuntimePlatformPtrOutputWithContext(ctx context.Context) TaskDefinitionRuntimePlatformPtrOutput
type TaskDefinitionRuntimePlatformPtrInput ¶
type TaskDefinitionRuntimePlatformPtrInput interface { pulumi.Input ToTaskDefinitionRuntimePlatformPtrOutput() TaskDefinitionRuntimePlatformPtrOutput ToTaskDefinitionRuntimePlatformPtrOutputWithContext(context.Context) TaskDefinitionRuntimePlatformPtrOutput }
TaskDefinitionRuntimePlatformPtrInput is an input type that accepts TaskDefinitionRuntimePlatformArgs, TaskDefinitionRuntimePlatformPtr and TaskDefinitionRuntimePlatformPtrOutput values. You can construct a concrete instance of `TaskDefinitionRuntimePlatformPtrInput` via:
TaskDefinitionRuntimePlatformArgs{...} or: nil
func TaskDefinitionRuntimePlatformPtr ¶
func TaskDefinitionRuntimePlatformPtr(v *TaskDefinitionRuntimePlatformArgs) TaskDefinitionRuntimePlatformPtrInput
type TaskDefinitionRuntimePlatformPtrOutput ¶
type TaskDefinitionRuntimePlatformPtrOutput struct{ *pulumi.OutputState }
func (TaskDefinitionRuntimePlatformPtrOutput) CpuArchitecture ¶
func (o TaskDefinitionRuntimePlatformPtrOutput) CpuArchitecture() pulumi.StringPtrOutput
Must be set to either `X86_64` or `ARM64`; see [cpu architecture](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform)
func (TaskDefinitionRuntimePlatformPtrOutput) ElementType ¶
func (TaskDefinitionRuntimePlatformPtrOutput) ElementType() reflect.Type
func (TaskDefinitionRuntimePlatformPtrOutput) OperatingSystemFamily ¶
func (o TaskDefinitionRuntimePlatformPtrOutput) OperatingSystemFamily() pulumi.StringPtrOutput
If the `requiresCompatibilities` is `FARGATE` this field is required; must be set to a valid option from the [operating system family in the runtime platform](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform) setting
func (TaskDefinitionRuntimePlatformPtrOutput) ToTaskDefinitionRuntimePlatformPtrOutput ¶
func (o TaskDefinitionRuntimePlatformPtrOutput) ToTaskDefinitionRuntimePlatformPtrOutput() TaskDefinitionRuntimePlatformPtrOutput
func (TaskDefinitionRuntimePlatformPtrOutput) ToTaskDefinitionRuntimePlatformPtrOutputWithContext ¶
func (o TaskDefinitionRuntimePlatformPtrOutput) ToTaskDefinitionRuntimePlatformPtrOutputWithContext(ctx context.Context) TaskDefinitionRuntimePlatformPtrOutput
type TaskDefinitionState ¶
type TaskDefinitionState struct { // Full ARN of the Task Definition (including both `family` and `revision`). Arn pulumi.StringPtrInput // A list of valid [container definitions](http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html) provided as a single valid JSON document. Please note that you should only provide values that are part of the container definition document. For a detailed description of what parameters are available, see the [Task Definition Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html) section from the official [Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide). ContainerDefinitions pulumi.StringPtrInput // Number of cpu units used by the task. If the `requiresCompatibilities` is `FARGATE` this field is required. Cpu pulumi.StringPtrInput // The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. See Ephemeral Storage. EphemeralStorage TaskDefinitionEphemeralStoragePtrInput // ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume. ExecutionRoleArn pulumi.StringPtrInput // A unique name for your task definition. Family pulumi.StringPtrInput // Configuration block(s) with Inference Accelerators settings. Detailed below. InferenceAccelerators TaskDefinitionInferenceAcceleratorArrayInput // IPC resource namespace to be used for the containers in the task The valid values are `host`, `task`, and `none`. IpcMode pulumi.StringPtrInput // Amount (in MiB) of memory used by the task. If the `requiresCompatibilities` is `FARGATE` this field is required. Memory pulumi.StringPtrInput // Docker networking mode to use for the containers in the task. Valid values are `none`, `bridge`, `awsvpc`, and `host`. NetworkMode pulumi.StringPtrInput // Process namespace to use for the containers in the task. The valid values are `host` and `task`. PidMode pulumi.StringPtrInput // Configuration block for rules that are taken into consideration during task placement. Maximum number of `placementConstraints` is `10`. Detailed below. PlacementConstraints TaskDefinitionPlacementConstraintArrayInput // Configuration block for the App Mesh proxy. Detailed below. ProxyConfiguration TaskDefinitionProxyConfigurationPtrInput // Set of launch types required by the task. The valid values are `EC2` and `FARGATE`. RequiresCompatibilities pulumi.StringArrayInput // Revision of the task in a particular family. Revision pulumi.IntPtrInput // Configuration block for runtimePlatform that containers in your task may use. RuntimePlatform TaskDefinitionRuntimePlatformPtrInput // Whether to retain the old revision when the resource is destroyed or replacement is necessary. Default is `false`. SkipDestroy pulumi.BoolPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput // ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services. TaskRoleArn pulumi.StringPtrInput // Configuration block for volumes that containers in your task may use. Detailed below. Volumes TaskDefinitionVolumeArrayInput }
func (TaskDefinitionState) ElementType ¶
func (TaskDefinitionState) ElementType() reflect.Type
type TaskDefinitionVolume ¶
type TaskDefinitionVolume struct { // Configuration block to configure a docker volume. Detailed below. DockerVolumeConfiguration *TaskDefinitionVolumeDockerVolumeConfiguration `pulumi:"dockerVolumeConfiguration"` // Configuration block for an EFS volume. Detailed below. EfsVolumeConfiguration *TaskDefinitionVolumeEfsVolumeConfiguration `pulumi:"efsVolumeConfiguration"` // Configuration block for an FSX Windows File Server volume. Detailed below. FsxWindowsFileServerVolumeConfiguration *TaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration `pulumi:"fsxWindowsFileServerVolumeConfiguration"` // Path on the host container instance that is presented to the container. If not set, ECS will create a nonpersistent data volume that starts empty and is deleted after the task has finished. HostPath *string `pulumi:"hostPath"` // Name of the volume. This name is referenced in the `sourceVolume` // parameter of container definition in the `mountPoints` section. Name string `pulumi:"name"` }
type TaskDefinitionVolumeArgs ¶
type TaskDefinitionVolumeArgs struct { // Configuration block to configure a docker volume. Detailed below. DockerVolumeConfiguration TaskDefinitionVolumeDockerVolumeConfigurationPtrInput `pulumi:"dockerVolumeConfiguration"` // Configuration block for an EFS volume. Detailed below. EfsVolumeConfiguration TaskDefinitionVolumeEfsVolumeConfigurationPtrInput `pulumi:"efsVolumeConfiguration"` // Configuration block for an FSX Windows File Server volume. Detailed below. FsxWindowsFileServerVolumeConfiguration TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrInput `pulumi:"fsxWindowsFileServerVolumeConfiguration"` // Path on the host container instance that is presented to the container. If not set, ECS will create a nonpersistent data volume that starts empty and is deleted after the task has finished. HostPath pulumi.StringPtrInput `pulumi:"hostPath"` // Name of the volume. This name is referenced in the `sourceVolume` // parameter of container definition in the `mountPoints` section. Name pulumi.StringInput `pulumi:"name"` }
func (TaskDefinitionVolumeArgs) ElementType ¶
func (TaskDefinitionVolumeArgs) ElementType() reflect.Type
func (TaskDefinitionVolumeArgs) ToTaskDefinitionVolumeOutput ¶
func (i TaskDefinitionVolumeArgs) ToTaskDefinitionVolumeOutput() TaskDefinitionVolumeOutput
func (TaskDefinitionVolumeArgs) ToTaskDefinitionVolumeOutputWithContext ¶
func (i TaskDefinitionVolumeArgs) ToTaskDefinitionVolumeOutputWithContext(ctx context.Context) TaskDefinitionVolumeOutput
type TaskDefinitionVolumeArray ¶
type TaskDefinitionVolumeArray []TaskDefinitionVolumeInput
func (TaskDefinitionVolumeArray) ElementType ¶
func (TaskDefinitionVolumeArray) ElementType() reflect.Type
func (TaskDefinitionVolumeArray) ToTaskDefinitionVolumeArrayOutput ¶
func (i TaskDefinitionVolumeArray) ToTaskDefinitionVolumeArrayOutput() TaskDefinitionVolumeArrayOutput
func (TaskDefinitionVolumeArray) ToTaskDefinitionVolumeArrayOutputWithContext ¶
func (i TaskDefinitionVolumeArray) ToTaskDefinitionVolumeArrayOutputWithContext(ctx context.Context) TaskDefinitionVolumeArrayOutput
type TaskDefinitionVolumeArrayInput ¶
type TaskDefinitionVolumeArrayInput interface { pulumi.Input ToTaskDefinitionVolumeArrayOutput() TaskDefinitionVolumeArrayOutput ToTaskDefinitionVolumeArrayOutputWithContext(context.Context) TaskDefinitionVolumeArrayOutput }
TaskDefinitionVolumeArrayInput is an input type that accepts TaskDefinitionVolumeArray and TaskDefinitionVolumeArrayOutput values. You can construct a concrete instance of `TaskDefinitionVolumeArrayInput` via:
TaskDefinitionVolumeArray{ TaskDefinitionVolumeArgs{...} }
type TaskDefinitionVolumeArrayOutput ¶
type TaskDefinitionVolumeArrayOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeArrayOutput) ElementType ¶
func (TaskDefinitionVolumeArrayOutput) ElementType() reflect.Type
func (TaskDefinitionVolumeArrayOutput) Index ¶
func (o TaskDefinitionVolumeArrayOutput) Index(i pulumi.IntInput) TaskDefinitionVolumeOutput
func (TaskDefinitionVolumeArrayOutput) ToTaskDefinitionVolumeArrayOutput ¶
func (o TaskDefinitionVolumeArrayOutput) ToTaskDefinitionVolumeArrayOutput() TaskDefinitionVolumeArrayOutput
func (TaskDefinitionVolumeArrayOutput) ToTaskDefinitionVolumeArrayOutputWithContext ¶
func (o TaskDefinitionVolumeArrayOutput) ToTaskDefinitionVolumeArrayOutputWithContext(ctx context.Context) TaskDefinitionVolumeArrayOutput
type TaskDefinitionVolumeDockerVolumeConfiguration ¶
type TaskDefinitionVolumeDockerVolumeConfiguration struct { // If this value is `true`, the Docker volume is created if it does not already exist. *Note*: This field is only used if the scope is `shared`. Autoprovision *bool `pulumi:"autoprovision"` // Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement. Driver *string `pulumi:"driver"` // Map of Docker driver specific options. DriverOpts map[string]string `pulumi:"driverOpts"` // Map of custom metadata to add to your Docker volume. Labels map[string]string `pulumi:"labels"` // Scope for the Docker volume, which determines its lifecycle, either `task` or `shared`. Docker volumes that are scoped to a `task` are automatically provisioned when the task starts and destroyed when the task stops. Docker volumes that are scoped as `shared` persist after the task stops. Scope *string `pulumi:"scope"` }
type TaskDefinitionVolumeDockerVolumeConfigurationArgs ¶
type TaskDefinitionVolumeDockerVolumeConfigurationArgs struct { // If this value is `true`, the Docker volume is created if it does not already exist. *Note*: This field is only used if the scope is `shared`. Autoprovision pulumi.BoolPtrInput `pulumi:"autoprovision"` // Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement. Driver pulumi.StringPtrInput `pulumi:"driver"` // Map of Docker driver specific options. DriverOpts pulumi.StringMapInput `pulumi:"driverOpts"` // Map of custom metadata to add to your Docker volume. Labels pulumi.StringMapInput `pulumi:"labels"` // Scope for the Docker volume, which determines its lifecycle, either `task` or `shared`. Docker volumes that are scoped to a `task` are automatically provisioned when the task starts and destroyed when the task stops. Docker volumes that are scoped as `shared` persist after the task stops. Scope pulumi.StringPtrInput `pulumi:"scope"` }
func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ElementType ¶
func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ElementType() reflect.Type
func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationOutput ¶
func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationOutput() TaskDefinitionVolumeDockerVolumeConfigurationOutput
func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext ¶
func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationOutput
func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput ¶
func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext ¶
func (i TaskDefinitionVolumeDockerVolumeConfigurationArgs) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
type TaskDefinitionVolumeDockerVolumeConfigurationInput ¶
type TaskDefinitionVolumeDockerVolumeConfigurationInput interface { pulumi.Input ToTaskDefinitionVolumeDockerVolumeConfigurationOutput() TaskDefinitionVolumeDockerVolumeConfigurationOutput ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext(context.Context) TaskDefinitionVolumeDockerVolumeConfigurationOutput }
TaskDefinitionVolumeDockerVolumeConfigurationInput is an input type that accepts TaskDefinitionVolumeDockerVolumeConfigurationArgs and TaskDefinitionVolumeDockerVolumeConfigurationOutput values. You can construct a concrete instance of `TaskDefinitionVolumeDockerVolumeConfigurationInput` via:
TaskDefinitionVolumeDockerVolumeConfigurationArgs{...}
type TaskDefinitionVolumeDockerVolumeConfigurationOutput ¶
type TaskDefinitionVolumeDockerVolumeConfigurationOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) Autoprovision ¶
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) Autoprovision() pulumi.BoolPtrOutput
If this value is `true`, the Docker volume is created if it does not already exist. *Note*: This field is only used if the scope is `shared`.
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) Driver ¶
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) Driver() pulumi.StringPtrOutput
Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement.
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) DriverOpts ¶
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) DriverOpts() pulumi.StringMapOutput
Map of Docker driver specific options.
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ElementType ¶
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ElementType() reflect.Type
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) Labels ¶
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) Labels() pulumi.StringMapOutput
Map of custom metadata to add to your Docker volume.
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) Scope ¶
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) Scope() pulumi.StringPtrOutput
Scope for the Docker volume, which determines its lifecycle, either `task` or `shared`. Docker volumes that are scoped to a `task` are automatically provisioned when the task starts and destroyed when the task stops. Docker volumes that are scoped as `shared` persist after the task stops.
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationOutput ¶
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationOutput() TaskDefinitionVolumeDockerVolumeConfigurationOutput
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext ¶
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationOutput
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput ¶
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext ¶
func (o TaskDefinitionVolumeDockerVolumeConfigurationOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
type TaskDefinitionVolumeDockerVolumeConfigurationPtrInput ¶
type TaskDefinitionVolumeDockerVolumeConfigurationPtrInput interface { pulumi.Input ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput }
TaskDefinitionVolumeDockerVolumeConfigurationPtrInput is an input type that accepts TaskDefinitionVolumeDockerVolumeConfigurationArgs, TaskDefinitionVolumeDockerVolumeConfigurationPtr and TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput values. You can construct a concrete instance of `TaskDefinitionVolumeDockerVolumeConfigurationPtrInput` via:
TaskDefinitionVolumeDockerVolumeConfigurationArgs{...} or: nil
func TaskDefinitionVolumeDockerVolumeConfigurationPtr ¶
func TaskDefinitionVolumeDockerVolumeConfigurationPtr(v *TaskDefinitionVolumeDockerVolumeConfigurationArgs) TaskDefinitionVolumeDockerVolumeConfigurationPtrInput
type TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput ¶
type TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Autoprovision ¶
func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Autoprovision() pulumi.BoolPtrOutput
If this value is `true`, the Docker volume is created if it does not already exist. *Note*: This field is only used if the scope is `shared`.
func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Driver ¶
func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Driver() pulumi.StringPtrOutput
Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement.
func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) DriverOpts ¶
func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) DriverOpts() pulumi.StringMapOutput
Map of Docker driver specific options.
func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ElementType ¶
func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ElementType() reflect.Type
func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Labels ¶
func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Labels() pulumi.StringMapOutput
Map of custom metadata to add to your Docker volume.
func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Scope ¶
func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) Scope() pulumi.StringPtrOutput
Scope for the Docker volume, which determines its lifecycle, either `task` or `shared`. Docker volumes that are scoped to a `task` are automatically provisioned when the task starts and destroyed when the task stops. Docker volumes that are scoped as `shared` persist after the task stops.
func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput ¶
func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutput() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext ¶
func (o TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeDockerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
type TaskDefinitionVolumeEfsVolumeConfiguration ¶
type TaskDefinitionVolumeEfsVolumeConfiguration struct { // Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below. AuthorizationConfig *TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig `pulumi:"authorizationConfig"` // The Amazon FSx for Windows File Server file system ID to use. FileSystemId string `pulumi:"fileSystemId"` // The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host. RootDirectory *string `pulumi:"rootDirectory"` // Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. Valid values: `ENABLED`, `DISABLED`. If this parameter is omitted, the default value of `DISABLED` is used. TransitEncryption *string `pulumi:"transitEncryption"` // Port to use for transit encryption. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses. TransitEncryptionPort *int `pulumi:"transitEncryptionPort"` }
type TaskDefinitionVolumeEfsVolumeConfigurationArgs ¶
type TaskDefinitionVolumeEfsVolumeConfigurationArgs struct { // Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below. AuthorizationConfig TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrInput `pulumi:"authorizationConfig"` // The Amazon FSx for Windows File Server file system ID to use. FileSystemId pulumi.StringInput `pulumi:"fileSystemId"` // The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host. RootDirectory pulumi.StringPtrInput `pulumi:"rootDirectory"` // Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. Valid values: `ENABLED`, `DISABLED`. If this parameter is omitted, the default value of `DISABLED` is used. TransitEncryption pulumi.StringPtrInput `pulumi:"transitEncryption"` // Port to use for transit encryption. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses. TransitEncryptionPort pulumi.IntPtrInput `pulumi:"transitEncryptionPort"` }
func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ElementType ¶
func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ElementType() reflect.Type
func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationOutput ¶
func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationOutput() TaskDefinitionVolumeEfsVolumeConfigurationOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext ¶
func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput ¶
func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext ¶
func (i TaskDefinitionVolumeEfsVolumeConfigurationArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig ¶
type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig struct { // Access point ID to use. If an access point is specified, the root directory value will be relative to the directory set for the access point. If specified, transit encryption must be enabled in the EFSVolumeConfiguration. AccessPointId *string `pulumi:"accessPointId"` // Whether or not to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the EFSVolumeConfiguration. Valid values: `ENABLED`, `DISABLED`. If this parameter is omitted, the default value of `DISABLED` is used. Iam *string `pulumi:"iam"` }
type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs ¶
type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs struct { // Access point ID to use. If an access point is specified, the root directory value will be relative to the directory set for the access point. If specified, transit encryption must be enabled in the EFSVolumeConfiguration. AccessPointId pulumi.StringPtrInput `pulumi:"accessPointId"` // Whether or not to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the EFSVolumeConfiguration. Valid values: `ENABLED`, `DISABLED`. If this parameter is omitted, the default value of `DISABLED` is used. Iam pulumi.StringPtrInput `pulumi:"iam"` }
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ElementType ¶
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ElementType() reflect.Type
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput ¶
func (i TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutputWithContext ¶
func (i TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput ¶
func (i TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext ¶
func (i TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigInput ¶
type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigInput interface { pulumi.Input ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutputWithContext(context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput }
TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigInput is an input type that accepts TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs and TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput values. You can construct a concrete instance of `TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigInput` via:
TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs{...}
type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput ¶
type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) AccessPointId ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) AccessPointId() pulumi.StringPtrOutput
Access point ID to use. If an access point is specified, the root directory value will be relative to the directory set for the access point. If specified, transit encryption must be enabled in the EFSVolumeConfiguration.
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ElementType ¶
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ElementType() reflect.Type
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) Iam ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) Iam() pulumi.StringPtrOutput
Whether or not to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the EFSVolumeConfiguration. Valid values: `ENABLED`, `DISABLED`. If this parameter is omitted, the default value of `DISABLED` is used.
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutputWithContext ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrInput ¶
type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrInput interface { pulumi.Input ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext(context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput }
TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrInput is an input type that accepts TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs, TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtr and TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput values. You can construct a concrete instance of `TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrInput` via:
TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs{...} or: nil
func TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtr ¶
func TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtr(v *TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigArgs) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrInput
type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput ¶
type TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) AccessPointId ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) AccessPointId() pulumi.StringPtrOutput
Access point ID to use. If an access point is specified, the root directory value will be relative to the directory set for the access point. If specified, transit encryption must be enabled in the EFSVolumeConfiguration.
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) ElementType ¶
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) ElementType() reflect.Type
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) Iam ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) Iam() pulumi.StringPtrOutput
Whether or not to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the EFSVolumeConfiguration. Valid values: `ENABLED`, `DISABLED`. If this parameter is omitted, the default value of `DISABLED` is used.
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
type TaskDefinitionVolumeEfsVolumeConfigurationInput ¶
type TaskDefinitionVolumeEfsVolumeConfigurationInput interface { pulumi.Input ToTaskDefinitionVolumeEfsVolumeConfigurationOutput() TaskDefinitionVolumeEfsVolumeConfigurationOutput ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext(context.Context) TaskDefinitionVolumeEfsVolumeConfigurationOutput }
TaskDefinitionVolumeEfsVolumeConfigurationInput is an input type that accepts TaskDefinitionVolumeEfsVolumeConfigurationArgs and TaskDefinitionVolumeEfsVolumeConfigurationOutput values. You can construct a concrete instance of `TaskDefinitionVolumeEfsVolumeConfigurationInput` via:
TaskDefinitionVolumeEfsVolumeConfigurationArgs{...}
type TaskDefinitionVolumeEfsVolumeConfigurationOutput ¶
type TaskDefinitionVolumeEfsVolumeConfigurationOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) AuthorizationConfig ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) AuthorizationConfig() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below.
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ElementType ¶
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ElementType() reflect.Type
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) FileSystemId ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) FileSystemId() pulumi.StringOutput
The Amazon FSx for Windows File Server file system ID to use.
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) RootDirectory ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) RootDirectory() pulumi.StringPtrOutput
The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationOutput ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationOutput() TaskDefinitionVolumeEfsVolumeConfigurationOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) TransitEncryption ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) TransitEncryption() pulumi.StringPtrOutput
Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. Valid values: `ENABLED`, `DISABLED`. If this parameter is omitted, the default value of `DISABLED` is used.
func (TaskDefinitionVolumeEfsVolumeConfigurationOutput) TransitEncryptionPort ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationOutput) TransitEncryptionPort() pulumi.IntPtrOutput
Port to use for transit encryption. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses.
type TaskDefinitionVolumeEfsVolumeConfigurationPtrInput ¶
type TaskDefinitionVolumeEfsVolumeConfigurationPtrInput interface { pulumi.Input ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput }
TaskDefinitionVolumeEfsVolumeConfigurationPtrInput is an input type that accepts TaskDefinitionVolumeEfsVolumeConfigurationArgs, TaskDefinitionVolumeEfsVolumeConfigurationPtr and TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput values. You can construct a concrete instance of `TaskDefinitionVolumeEfsVolumeConfigurationPtrInput` via:
TaskDefinitionVolumeEfsVolumeConfigurationArgs{...} or: nil
func TaskDefinitionVolumeEfsVolumeConfigurationPtr ¶
func TaskDefinitionVolumeEfsVolumeConfigurationPtr(v *TaskDefinitionVolumeEfsVolumeConfigurationArgs) TaskDefinitionVolumeEfsVolumeConfigurationPtrInput
type TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput ¶
type TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) AuthorizationConfig ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) AuthorizationConfig() TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfigPtrOutput
Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below.
func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ElementType ¶
func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ElementType() reflect.Type
func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) FileSystemId ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) FileSystemId() pulumi.StringPtrOutput
The Amazon FSx for Windows File Server file system ID to use.
func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) RootDirectory ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) RootDirectory() pulumi.StringPtrOutput
The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutput() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeEfsVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) TransitEncryption ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) TransitEncryption() pulumi.StringPtrOutput
Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. Valid values: `ENABLED`, `DISABLED`. If this parameter is omitted, the default value of `DISABLED` is used.
func (TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) TransitEncryptionPort ¶
func (o TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput) TransitEncryptionPort() pulumi.IntPtrOutput
Port to use for transit encryption. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses.
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration ¶
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfiguration struct { // Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below. AuthorizationConfig TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfig `pulumi:"authorizationConfig"` // The Amazon FSx for Windows File Server file system ID to use. FileSystemId string `pulumi:"fileSystemId"` // The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host. RootDirectory string `pulumi:"rootDirectory"` }
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs ¶
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs struct { // Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below. AuthorizationConfig TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigInput `pulumi:"authorizationConfig"` // The Amazon FSx for Windows File Server file system ID to use. FileSystemId pulumi.StringInput `pulumi:"fileSystemId"` // The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host. RootDirectory pulumi.StringInput `pulumi:"rootDirectory"` }
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs) ElementType ¶
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs) ElementType() reflect.Type
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput ¶
func (i TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutputWithContext ¶
func (i TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput ¶
func (i TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutputWithContext ¶
func (i TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfig ¶
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfig struct { // The authorization credential option to use. The authorization credential options can be provided using either the Amazon Resource Name (ARN) of an AWS Secrets Manager secret or AWS Systems Manager Parameter Store parameter. The ARNs refer to the stored credentials. CredentialsParameter string `pulumi:"credentialsParameter"` // A fully qualified domain name hosted by an AWS Directory Service Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2. Domain string `pulumi:"domain"` }
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs ¶
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs struct { // The authorization credential option to use. The authorization credential options can be provided using either the Amazon Resource Name (ARN) of an AWS Secrets Manager secret or AWS Systems Manager Parameter Store parameter. The ARNs refer to the stored credentials. CredentialsParameter pulumi.StringInput `pulumi:"credentialsParameter"` // A fully qualified domain name hosted by an AWS Directory Service Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2. Domain pulumi.StringInput `pulumi:"domain"` }
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs) ElementType ¶
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput ¶
func (i TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutputWithContext ¶
func (i TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutputWithContext(ctx context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput ¶
func (i TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutputWithContext ¶
func (i TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigInput ¶
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigInput interface { pulumi.Input ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutputWithContext(context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput }
TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigInput is an input type that accepts TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs and TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput values. You can construct a concrete instance of `TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigInput` via:
TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs{...}
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput ¶
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) CredentialsParameter ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) CredentialsParameter() pulumi.StringOutput
The authorization credential option to use. The authorization credential options can be provided using either the Amazon Resource Name (ARN) of an AWS Secrets Manager secret or AWS Systems Manager Parameter Store parameter. The ARNs refer to the stored credentials.
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) Domain ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) Domain() pulumi.StringOutput
A fully qualified domain name hosted by an AWS Directory Service Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2.
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) ElementType ¶
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutputWithContext ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutputWithContext(ctx context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutputWithContext ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrInput ¶
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrInput interface { pulumi.Input ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutputWithContext(context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput }
TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrInput is an input type that accepts TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs, TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtr and TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput values. You can construct a concrete instance of `TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrInput` via:
TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs{...} or: nil
func TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtr ¶
func TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtr(v *TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrInput
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput ¶
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput) CredentialsParameter ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput) CredentialsParameter() pulumi.StringPtrOutput
The authorization credential option to use. The authorization credential options can be provided using either the Amazon Resource Name (ARN) of an AWS Secrets Manager secret or AWS Systems Manager Parameter Store parameter. The ARNs refer to the stored credentials.
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput) Domain ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput) Domain() pulumi.StringPtrOutput
A fully qualified domain name hosted by an AWS Directory Service Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2.
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput) Elem ¶
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput) ElementType ¶
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutputWithContext ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationInput ¶
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationInput interface { pulumi.Input ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutputWithContext(context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput }
TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationInput is an input type that accepts TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs and TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput values. You can construct a concrete instance of `TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationInput` via:
TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs{...}
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput ¶
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) AuthorizationConfig ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) AuthorizationConfig() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigOutput
Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below.
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) ElementType ¶
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) ElementType() reflect.Type
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) FileSystemId ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) FileSystemId() pulumi.StringOutput
The Amazon FSx for Windows File Server file system ID to use.
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) RootDirectory ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) RootDirectory() pulumi.StringOutput
The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutputWithContext ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutputWithContext(ctx context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutputWithContext ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrInput ¶
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrInput interface { pulumi.Input ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutputWithContext(context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput }
TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrInput is an input type that accepts TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs, TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtr and TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput values. You can construct a concrete instance of `TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrInput` via:
TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs{...} or: nil
func TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtr ¶
func TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtr(v *TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrInput
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput ¶
type TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) AuthorizationConfig ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) AuthorizationConfig() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigPtrOutput
Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below.
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) ElementType ¶
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) ElementType() reflect.Type
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) FileSystemId ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) FileSystemId() pulumi.StringPtrOutput
The Amazon FSx for Windows File Server file system ID to use.
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) RootDirectory ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) RootDirectory() pulumi.StringPtrOutput
The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput
func (TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutputWithContext ¶
func (o TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput) ToTaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutputWithContext(ctx context.Context) TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput
type TaskDefinitionVolumeInput ¶
type TaskDefinitionVolumeInput interface { pulumi.Input ToTaskDefinitionVolumeOutput() TaskDefinitionVolumeOutput ToTaskDefinitionVolumeOutputWithContext(context.Context) TaskDefinitionVolumeOutput }
TaskDefinitionVolumeInput is an input type that accepts TaskDefinitionVolumeArgs and TaskDefinitionVolumeOutput values. You can construct a concrete instance of `TaskDefinitionVolumeInput` via:
TaskDefinitionVolumeArgs{...}
type TaskDefinitionVolumeOutput ¶
type TaskDefinitionVolumeOutput struct{ *pulumi.OutputState }
func (TaskDefinitionVolumeOutput) DockerVolumeConfiguration ¶
func (o TaskDefinitionVolumeOutput) DockerVolumeConfiguration() TaskDefinitionVolumeDockerVolumeConfigurationPtrOutput
Configuration block to configure a docker volume. Detailed below.
func (TaskDefinitionVolumeOutput) EfsVolumeConfiguration ¶
func (o TaskDefinitionVolumeOutput) EfsVolumeConfiguration() TaskDefinitionVolumeEfsVolumeConfigurationPtrOutput
Configuration block for an EFS volume. Detailed below.
func (TaskDefinitionVolumeOutput) ElementType ¶
func (TaskDefinitionVolumeOutput) ElementType() reflect.Type
func (TaskDefinitionVolumeOutput) FsxWindowsFileServerVolumeConfiguration ¶
func (o TaskDefinitionVolumeOutput) FsxWindowsFileServerVolumeConfiguration() TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationPtrOutput
Configuration block for an FSX Windows File Server volume. Detailed below.
func (TaskDefinitionVolumeOutput) HostPath ¶
func (o TaskDefinitionVolumeOutput) HostPath() pulumi.StringPtrOutput
Path on the host container instance that is presented to the container. If not set, ECS will create a nonpersistent data volume that starts empty and is deleted after the task has finished.
func (TaskDefinitionVolumeOutput) Name ¶
func (o TaskDefinitionVolumeOutput) Name() pulumi.StringOutput
Name of the volume. This name is referenced in the `sourceVolume` parameter of container definition in the `mountPoints` section.
func (TaskDefinitionVolumeOutput) ToTaskDefinitionVolumeOutput ¶
func (o TaskDefinitionVolumeOutput) ToTaskDefinitionVolumeOutput() TaskDefinitionVolumeOutput
func (TaskDefinitionVolumeOutput) ToTaskDefinitionVolumeOutputWithContext ¶
func (o TaskDefinitionVolumeOutput) ToTaskDefinitionVolumeOutputWithContext(ctx context.Context) TaskDefinitionVolumeOutput
type TaskSet ¶
type TaskSet struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) that identifies the task set. Arn pulumi.StringOutput `pulumi:"arn"` // The capacity provider strategy to use for the service. Can be one or more. Defined below. CapacityProviderStrategies TaskSetCapacityProviderStrategyArrayOutput `pulumi:"capacityProviderStrategies"` // The short name or ARN of the cluster that hosts the service to create the task set in. Cluster pulumi.StringOutput `pulumi:"cluster"` // The external ID associated with the task set. ExternalId pulumi.StringOutput `pulumi:"externalId"` // Whether to allow deleting the task set without waiting for scaling down to 0. You can force a task set to delete even if it's in the process of scaling a resource. Normally, the provider drains all the tasks before deleting the task set. This bypasses that behavior and potentially leaves resources dangling. ForceDelete pulumi.BoolPtrOutput `pulumi:"forceDelete"` // The launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`. LaunchType pulumi.StringOutput `pulumi:"launchType"` // Details on load balancers that are used with a task set. Detailed below. LoadBalancers TaskSetLoadBalancerArrayOutput `pulumi:"loadBalancers"` // The network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. Detailed below. NetworkConfiguration TaskSetNetworkConfigurationPtrOutput `pulumi:"networkConfiguration"` // The platform version on which to run your service. Only applicable for `launchType` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html). PlatformVersion pulumi.StringOutput `pulumi:"platformVersion"` // A floating-point percentage of the desired number of tasks to place and keep running in the task set. Detailed below. Scale TaskSetScaleOutput `pulumi:"scale"` // The short name or ARN of the ECS service. Service pulumi.StringOutput `pulumi:"service"` // The service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. Detailed below. ServiceRegistries TaskSetServiceRegistriesPtrOutput `pulumi:"serviceRegistries"` // The stability status. This indicates whether the task set has reached a steady state. StabilityStatus pulumi.StringOutput `pulumi:"stabilityStatus"` // The status of the task set. Status pulumi.StringOutput `pulumi:"status"` // A map of tags to assign to the file system. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set `copyTagsToBackups` to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. TaskDefinition pulumi.StringOutput `pulumi:"taskDefinition"` // The ID of the task set. TaskSetId pulumi.StringOutput `pulumi:"taskSetId"` // Whether the provider should wait until the task set has reached `STEADY_STATE`. WaitUntilStable pulumi.BoolPtrOutput `pulumi:"waitUntilStable"` // Wait timeout for task set to reach `STEADY_STATE`. Valid time units include `ns`, `us` (or `µs`), `ms`, `s`, `m`, and `h`. Default `10m`. WaitUntilStableTimeout pulumi.StringPtrOutput `pulumi:"waitUntilStableTimeout"` }
Provides an ECS task set - effectively a task that is expected to run until an error occurs or a user terminates it (typically a webserver or a database).
See [ECS Task Set section in AWS developer guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-external.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewTaskSet(ctx, "example", &ecs.TaskSetArgs{ Service: pulumi.Any(aws_ecs_service.Example.Id), Cluster: pulumi.Any(aws_ecs_cluster.Example.Id), TaskDefinition: pulumi.Any(aws_ecs_task_definition.Example.Arn), LoadBalancers: ecs.TaskSetLoadBalancerArray{ &ecs.TaskSetLoadBalancerArgs{ TargetGroupArn: pulumi.Any(aws_lb_target_group.Example.Arn), ContainerName: pulumi.String("mongo"), ContainerPort: pulumi.Int(8080), }, }, }) if err != nil { return err } return nil }) }
```
## Import
ECS Task Sets can be imported via the `task_set_id`, `service`, and `cluster` separated by commas (`,`) e.g.
```sh
$ pulumi import aws:ecs/taskSet:TaskSet example ecs-svc/7177320696926227436,arn:aws:ecs:us-west-2:123456789101:service/example/example-1234567890,arn:aws:ecs:us-west-2:123456789101:cluster/example
```
func GetTaskSet ¶
func GetTaskSet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TaskSetState, opts ...pulumi.ResourceOption) (*TaskSet, error)
GetTaskSet gets an existing TaskSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTaskSet ¶
func NewTaskSet(ctx *pulumi.Context, name string, args *TaskSetArgs, opts ...pulumi.ResourceOption) (*TaskSet, error)
NewTaskSet registers a new resource with the given unique name, arguments, and options.
func (*TaskSet) ElementType ¶
func (*TaskSet) ToTaskSetOutput ¶
func (i *TaskSet) ToTaskSetOutput() TaskSetOutput
func (*TaskSet) ToTaskSetOutputWithContext ¶
func (i *TaskSet) ToTaskSetOutputWithContext(ctx context.Context) TaskSetOutput
type TaskSetArgs ¶
type TaskSetArgs struct { // The capacity provider strategy to use for the service. Can be one or more. Defined below. CapacityProviderStrategies TaskSetCapacityProviderStrategyArrayInput // The short name or ARN of the cluster that hosts the service to create the task set in. Cluster pulumi.StringInput // The external ID associated with the task set. ExternalId pulumi.StringPtrInput // Whether to allow deleting the task set without waiting for scaling down to 0. You can force a task set to delete even if it's in the process of scaling a resource. Normally, the provider drains all the tasks before deleting the task set. This bypasses that behavior and potentially leaves resources dangling. ForceDelete pulumi.BoolPtrInput // The launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`. LaunchType pulumi.StringPtrInput // Details on load balancers that are used with a task set. Detailed below. LoadBalancers TaskSetLoadBalancerArrayInput // The network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. Detailed below. NetworkConfiguration TaskSetNetworkConfigurationPtrInput // The platform version on which to run your service. Only applicable for `launchType` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html). PlatformVersion pulumi.StringPtrInput // A floating-point percentage of the desired number of tasks to place and keep running in the task set. Detailed below. Scale TaskSetScalePtrInput // The short name or ARN of the ECS service. Service pulumi.StringInput // The service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. Detailed below. ServiceRegistries TaskSetServiceRegistriesPtrInput // A map of tags to assign to the file system. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set `copyTagsToBackups` to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup. Tags pulumi.StringMapInput // The family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. TaskDefinition pulumi.StringInput // Whether the provider should wait until the task set has reached `STEADY_STATE`. WaitUntilStable pulumi.BoolPtrInput // Wait timeout for task set to reach `STEADY_STATE`. Valid time units include `ns`, `us` (or `µs`), `ms`, `s`, `m`, and `h`. Default `10m`. WaitUntilStableTimeout pulumi.StringPtrInput }
The set of arguments for constructing a TaskSet resource.
func (TaskSetArgs) ElementType ¶
func (TaskSetArgs) ElementType() reflect.Type
type TaskSetArray ¶
type TaskSetArray []TaskSetInput
func (TaskSetArray) ElementType ¶
func (TaskSetArray) ElementType() reflect.Type
func (TaskSetArray) ToTaskSetArrayOutput ¶
func (i TaskSetArray) ToTaskSetArrayOutput() TaskSetArrayOutput
func (TaskSetArray) ToTaskSetArrayOutputWithContext ¶
func (i TaskSetArray) ToTaskSetArrayOutputWithContext(ctx context.Context) TaskSetArrayOutput
type TaskSetArrayInput ¶
type TaskSetArrayInput interface { pulumi.Input ToTaskSetArrayOutput() TaskSetArrayOutput ToTaskSetArrayOutputWithContext(context.Context) TaskSetArrayOutput }
TaskSetArrayInput is an input type that accepts TaskSetArray and TaskSetArrayOutput values. You can construct a concrete instance of `TaskSetArrayInput` via:
TaskSetArray{ TaskSetArgs{...} }
type TaskSetArrayOutput ¶
type TaskSetArrayOutput struct{ *pulumi.OutputState }
func (TaskSetArrayOutput) ElementType ¶
func (TaskSetArrayOutput) ElementType() reflect.Type
func (TaskSetArrayOutput) Index ¶
func (o TaskSetArrayOutput) Index(i pulumi.IntInput) TaskSetOutput
func (TaskSetArrayOutput) ToTaskSetArrayOutput ¶
func (o TaskSetArrayOutput) ToTaskSetArrayOutput() TaskSetArrayOutput
func (TaskSetArrayOutput) ToTaskSetArrayOutputWithContext ¶
func (o TaskSetArrayOutput) ToTaskSetArrayOutputWithContext(ctx context.Context) TaskSetArrayOutput
type TaskSetCapacityProviderStrategy ¶
type TaskSetCapacityProviderStrategy struct { // The number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. Base *int `pulumi:"base"` // The short name or full Amazon Resource Name (ARN) of the capacity provider. CapacityProvider string `pulumi:"capacityProvider"` // The relative percentage of the total number of launched tasks that should use the specified capacity provider. Weight int `pulumi:"weight"` }
type TaskSetCapacityProviderStrategyArgs ¶
type TaskSetCapacityProviderStrategyArgs struct { // The number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. Base pulumi.IntPtrInput `pulumi:"base"` // The short name or full Amazon Resource Name (ARN) of the capacity provider. CapacityProvider pulumi.StringInput `pulumi:"capacityProvider"` // The relative percentage of the total number of launched tasks that should use the specified capacity provider. Weight pulumi.IntInput `pulumi:"weight"` }
func (TaskSetCapacityProviderStrategyArgs) ElementType ¶
func (TaskSetCapacityProviderStrategyArgs) ElementType() reflect.Type
func (TaskSetCapacityProviderStrategyArgs) ToTaskSetCapacityProviderStrategyOutput ¶
func (i TaskSetCapacityProviderStrategyArgs) ToTaskSetCapacityProviderStrategyOutput() TaskSetCapacityProviderStrategyOutput
func (TaskSetCapacityProviderStrategyArgs) ToTaskSetCapacityProviderStrategyOutputWithContext ¶
func (i TaskSetCapacityProviderStrategyArgs) ToTaskSetCapacityProviderStrategyOutputWithContext(ctx context.Context) TaskSetCapacityProviderStrategyOutput
type TaskSetCapacityProviderStrategyArray ¶
type TaskSetCapacityProviderStrategyArray []TaskSetCapacityProviderStrategyInput
func (TaskSetCapacityProviderStrategyArray) ElementType ¶
func (TaskSetCapacityProviderStrategyArray) ElementType() reflect.Type
func (TaskSetCapacityProviderStrategyArray) ToTaskSetCapacityProviderStrategyArrayOutput ¶
func (i TaskSetCapacityProviderStrategyArray) ToTaskSetCapacityProviderStrategyArrayOutput() TaskSetCapacityProviderStrategyArrayOutput
func (TaskSetCapacityProviderStrategyArray) ToTaskSetCapacityProviderStrategyArrayOutputWithContext ¶
func (i TaskSetCapacityProviderStrategyArray) ToTaskSetCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) TaskSetCapacityProviderStrategyArrayOutput
type TaskSetCapacityProviderStrategyArrayInput ¶
type TaskSetCapacityProviderStrategyArrayInput interface { pulumi.Input ToTaskSetCapacityProviderStrategyArrayOutput() TaskSetCapacityProviderStrategyArrayOutput ToTaskSetCapacityProviderStrategyArrayOutputWithContext(context.Context) TaskSetCapacityProviderStrategyArrayOutput }
TaskSetCapacityProviderStrategyArrayInput is an input type that accepts TaskSetCapacityProviderStrategyArray and TaskSetCapacityProviderStrategyArrayOutput values. You can construct a concrete instance of `TaskSetCapacityProviderStrategyArrayInput` via:
TaskSetCapacityProviderStrategyArray{ TaskSetCapacityProviderStrategyArgs{...} }
type TaskSetCapacityProviderStrategyArrayOutput ¶
type TaskSetCapacityProviderStrategyArrayOutput struct{ *pulumi.OutputState }
func (TaskSetCapacityProviderStrategyArrayOutput) ElementType ¶
func (TaskSetCapacityProviderStrategyArrayOutput) ElementType() reflect.Type
func (TaskSetCapacityProviderStrategyArrayOutput) ToTaskSetCapacityProviderStrategyArrayOutput ¶
func (o TaskSetCapacityProviderStrategyArrayOutput) ToTaskSetCapacityProviderStrategyArrayOutput() TaskSetCapacityProviderStrategyArrayOutput
func (TaskSetCapacityProviderStrategyArrayOutput) ToTaskSetCapacityProviderStrategyArrayOutputWithContext ¶
func (o TaskSetCapacityProviderStrategyArrayOutput) ToTaskSetCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) TaskSetCapacityProviderStrategyArrayOutput
type TaskSetCapacityProviderStrategyInput ¶
type TaskSetCapacityProviderStrategyInput interface { pulumi.Input ToTaskSetCapacityProviderStrategyOutput() TaskSetCapacityProviderStrategyOutput ToTaskSetCapacityProviderStrategyOutputWithContext(context.Context) TaskSetCapacityProviderStrategyOutput }
TaskSetCapacityProviderStrategyInput is an input type that accepts TaskSetCapacityProviderStrategyArgs and TaskSetCapacityProviderStrategyOutput values. You can construct a concrete instance of `TaskSetCapacityProviderStrategyInput` via:
TaskSetCapacityProviderStrategyArgs{...}
type TaskSetCapacityProviderStrategyOutput ¶
type TaskSetCapacityProviderStrategyOutput struct{ *pulumi.OutputState }
func (TaskSetCapacityProviderStrategyOutput) Base ¶
func (o TaskSetCapacityProviderStrategyOutput) Base() pulumi.IntPtrOutput
The number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined.
func (TaskSetCapacityProviderStrategyOutput) CapacityProvider ¶
func (o TaskSetCapacityProviderStrategyOutput) CapacityProvider() pulumi.StringOutput
The short name or full Amazon Resource Name (ARN) of the capacity provider.
func (TaskSetCapacityProviderStrategyOutput) ElementType ¶
func (TaskSetCapacityProviderStrategyOutput) ElementType() reflect.Type
func (TaskSetCapacityProviderStrategyOutput) ToTaskSetCapacityProviderStrategyOutput ¶
func (o TaskSetCapacityProviderStrategyOutput) ToTaskSetCapacityProviderStrategyOutput() TaskSetCapacityProviderStrategyOutput
func (TaskSetCapacityProviderStrategyOutput) ToTaskSetCapacityProviderStrategyOutputWithContext ¶
func (o TaskSetCapacityProviderStrategyOutput) ToTaskSetCapacityProviderStrategyOutputWithContext(ctx context.Context) TaskSetCapacityProviderStrategyOutput
func (TaskSetCapacityProviderStrategyOutput) Weight ¶
func (o TaskSetCapacityProviderStrategyOutput) Weight() pulumi.IntOutput
The relative percentage of the total number of launched tasks that should use the specified capacity provider.
type TaskSetInput ¶
type TaskSetInput interface { pulumi.Input ToTaskSetOutput() TaskSetOutput ToTaskSetOutputWithContext(ctx context.Context) TaskSetOutput }
type TaskSetLoadBalancer ¶
type TaskSetLoadBalancer struct { // The name of the container to associate with the load balancer (as it appears in a container definition). ContainerName string `pulumi:"containerName"` // The port on the container to associate with the load balancer. Defaults to `0` if not specified. ContainerPort *int `pulumi:"containerPort"` // The name of the ELB (Classic) to associate with the service. LoadBalancerName *string `pulumi:"loadBalancerName"` // The ARN of the Load Balancer target group to associate with the service. TargetGroupArn *string `pulumi:"targetGroupArn"` }
type TaskSetLoadBalancerArgs ¶
type TaskSetLoadBalancerArgs struct { // The name of the container to associate with the load balancer (as it appears in a container definition). ContainerName pulumi.StringInput `pulumi:"containerName"` // The port on the container to associate with the load balancer. Defaults to `0` if not specified. ContainerPort pulumi.IntPtrInput `pulumi:"containerPort"` // The name of the ELB (Classic) to associate with the service. LoadBalancerName pulumi.StringPtrInput `pulumi:"loadBalancerName"` // The ARN of the Load Balancer target group to associate with the service. TargetGroupArn pulumi.StringPtrInput `pulumi:"targetGroupArn"` }
func (TaskSetLoadBalancerArgs) ElementType ¶
func (TaskSetLoadBalancerArgs) ElementType() reflect.Type
func (TaskSetLoadBalancerArgs) ToTaskSetLoadBalancerOutput ¶
func (i TaskSetLoadBalancerArgs) ToTaskSetLoadBalancerOutput() TaskSetLoadBalancerOutput
func (TaskSetLoadBalancerArgs) ToTaskSetLoadBalancerOutputWithContext ¶
func (i TaskSetLoadBalancerArgs) ToTaskSetLoadBalancerOutputWithContext(ctx context.Context) TaskSetLoadBalancerOutput
type TaskSetLoadBalancerArray ¶
type TaskSetLoadBalancerArray []TaskSetLoadBalancerInput
func (TaskSetLoadBalancerArray) ElementType ¶
func (TaskSetLoadBalancerArray) ElementType() reflect.Type
func (TaskSetLoadBalancerArray) ToTaskSetLoadBalancerArrayOutput ¶
func (i TaskSetLoadBalancerArray) ToTaskSetLoadBalancerArrayOutput() TaskSetLoadBalancerArrayOutput
func (TaskSetLoadBalancerArray) ToTaskSetLoadBalancerArrayOutputWithContext ¶
func (i TaskSetLoadBalancerArray) ToTaskSetLoadBalancerArrayOutputWithContext(ctx context.Context) TaskSetLoadBalancerArrayOutput
type TaskSetLoadBalancerArrayInput ¶
type TaskSetLoadBalancerArrayInput interface { pulumi.Input ToTaskSetLoadBalancerArrayOutput() TaskSetLoadBalancerArrayOutput ToTaskSetLoadBalancerArrayOutputWithContext(context.Context) TaskSetLoadBalancerArrayOutput }
TaskSetLoadBalancerArrayInput is an input type that accepts TaskSetLoadBalancerArray and TaskSetLoadBalancerArrayOutput values. You can construct a concrete instance of `TaskSetLoadBalancerArrayInput` via:
TaskSetLoadBalancerArray{ TaskSetLoadBalancerArgs{...} }
type TaskSetLoadBalancerArrayOutput ¶
type TaskSetLoadBalancerArrayOutput struct{ *pulumi.OutputState }
func (TaskSetLoadBalancerArrayOutput) ElementType ¶
func (TaskSetLoadBalancerArrayOutput) ElementType() reflect.Type
func (TaskSetLoadBalancerArrayOutput) Index ¶
func (o TaskSetLoadBalancerArrayOutput) Index(i pulumi.IntInput) TaskSetLoadBalancerOutput
func (TaskSetLoadBalancerArrayOutput) ToTaskSetLoadBalancerArrayOutput ¶
func (o TaskSetLoadBalancerArrayOutput) ToTaskSetLoadBalancerArrayOutput() TaskSetLoadBalancerArrayOutput
func (TaskSetLoadBalancerArrayOutput) ToTaskSetLoadBalancerArrayOutputWithContext ¶
func (o TaskSetLoadBalancerArrayOutput) ToTaskSetLoadBalancerArrayOutputWithContext(ctx context.Context) TaskSetLoadBalancerArrayOutput
type TaskSetLoadBalancerInput ¶
type TaskSetLoadBalancerInput interface { pulumi.Input ToTaskSetLoadBalancerOutput() TaskSetLoadBalancerOutput ToTaskSetLoadBalancerOutputWithContext(context.Context) TaskSetLoadBalancerOutput }
TaskSetLoadBalancerInput is an input type that accepts TaskSetLoadBalancerArgs and TaskSetLoadBalancerOutput values. You can construct a concrete instance of `TaskSetLoadBalancerInput` via:
TaskSetLoadBalancerArgs{...}
type TaskSetLoadBalancerOutput ¶
type TaskSetLoadBalancerOutput struct{ *pulumi.OutputState }
func (TaskSetLoadBalancerOutput) ContainerName ¶
func (o TaskSetLoadBalancerOutput) ContainerName() pulumi.StringOutput
The name of the container to associate with the load balancer (as it appears in a container definition).
func (TaskSetLoadBalancerOutput) ContainerPort ¶
func (o TaskSetLoadBalancerOutput) ContainerPort() pulumi.IntPtrOutput
The port on the container to associate with the load balancer. Defaults to `0` if not specified.
func (TaskSetLoadBalancerOutput) ElementType ¶
func (TaskSetLoadBalancerOutput) ElementType() reflect.Type
func (TaskSetLoadBalancerOutput) LoadBalancerName ¶
func (o TaskSetLoadBalancerOutput) LoadBalancerName() pulumi.StringPtrOutput
The name of the ELB (Classic) to associate with the service.
func (TaskSetLoadBalancerOutput) TargetGroupArn ¶
func (o TaskSetLoadBalancerOutput) TargetGroupArn() pulumi.StringPtrOutput
The ARN of the Load Balancer target group to associate with the service.
func (TaskSetLoadBalancerOutput) ToTaskSetLoadBalancerOutput ¶
func (o TaskSetLoadBalancerOutput) ToTaskSetLoadBalancerOutput() TaskSetLoadBalancerOutput
func (TaskSetLoadBalancerOutput) ToTaskSetLoadBalancerOutputWithContext ¶
func (o TaskSetLoadBalancerOutput) ToTaskSetLoadBalancerOutputWithContext(ctx context.Context) TaskSetLoadBalancerOutput
type TaskSetMap ¶
type TaskSetMap map[string]TaskSetInput
func (TaskSetMap) ElementType ¶
func (TaskSetMap) ElementType() reflect.Type
func (TaskSetMap) ToTaskSetMapOutput ¶
func (i TaskSetMap) ToTaskSetMapOutput() TaskSetMapOutput
func (TaskSetMap) ToTaskSetMapOutputWithContext ¶
func (i TaskSetMap) ToTaskSetMapOutputWithContext(ctx context.Context) TaskSetMapOutput
type TaskSetMapInput ¶
type TaskSetMapInput interface { pulumi.Input ToTaskSetMapOutput() TaskSetMapOutput ToTaskSetMapOutputWithContext(context.Context) TaskSetMapOutput }
TaskSetMapInput is an input type that accepts TaskSetMap and TaskSetMapOutput values. You can construct a concrete instance of `TaskSetMapInput` via:
TaskSetMap{ "key": TaskSetArgs{...} }
type TaskSetMapOutput ¶
type TaskSetMapOutput struct{ *pulumi.OutputState }
func (TaskSetMapOutput) ElementType ¶
func (TaskSetMapOutput) ElementType() reflect.Type
func (TaskSetMapOutput) MapIndex ¶
func (o TaskSetMapOutput) MapIndex(k pulumi.StringInput) TaskSetOutput
func (TaskSetMapOutput) ToTaskSetMapOutput ¶
func (o TaskSetMapOutput) ToTaskSetMapOutput() TaskSetMapOutput
func (TaskSetMapOutput) ToTaskSetMapOutputWithContext ¶
func (o TaskSetMapOutput) ToTaskSetMapOutputWithContext(ctx context.Context) TaskSetMapOutput
type TaskSetNetworkConfiguration ¶
type TaskSetNetworkConfiguration struct { // Whether to assign a public IP address to the ENI (`FARGATE` launch type only). Valid values are `true` or `false`. Default `false`. AssignPublicIp *bool `pulumi:"assignPublicIp"` // The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. Maximum of 5. SecurityGroups []string `pulumi:"securityGroups"` // The subnets associated with the task or service. Maximum of 16. Subnets []string `pulumi:"subnets"` }
type TaskSetNetworkConfigurationArgs ¶
type TaskSetNetworkConfigurationArgs struct { // Whether to assign a public IP address to the ENI (`FARGATE` launch type only). Valid values are `true` or `false`. Default `false`. AssignPublicIp pulumi.BoolPtrInput `pulumi:"assignPublicIp"` // The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. Maximum of 5. SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` // The subnets associated with the task or service. Maximum of 16. Subnets pulumi.StringArrayInput `pulumi:"subnets"` }
func (TaskSetNetworkConfigurationArgs) ElementType ¶
func (TaskSetNetworkConfigurationArgs) ElementType() reflect.Type
func (TaskSetNetworkConfigurationArgs) ToTaskSetNetworkConfigurationOutput ¶
func (i TaskSetNetworkConfigurationArgs) ToTaskSetNetworkConfigurationOutput() TaskSetNetworkConfigurationOutput
func (TaskSetNetworkConfigurationArgs) ToTaskSetNetworkConfigurationOutputWithContext ¶
func (i TaskSetNetworkConfigurationArgs) ToTaskSetNetworkConfigurationOutputWithContext(ctx context.Context) TaskSetNetworkConfigurationOutput
func (TaskSetNetworkConfigurationArgs) ToTaskSetNetworkConfigurationPtrOutput ¶
func (i TaskSetNetworkConfigurationArgs) ToTaskSetNetworkConfigurationPtrOutput() TaskSetNetworkConfigurationPtrOutput
func (TaskSetNetworkConfigurationArgs) ToTaskSetNetworkConfigurationPtrOutputWithContext ¶
func (i TaskSetNetworkConfigurationArgs) ToTaskSetNetworkConfigurationPtrOutputWithContext(ctx context.Context) TaskSetNetworkConfigurationPtrOutput
type TaskSetNetworkConfigurationInput ¶
type TaskSetNetworkConfigurationInput interface { pulumi.Input ToTaskSetNetworkConfigurationOutput() TaskSetNetworkConfigurationOutput ToTaskSetNetworkConfigurationOutputWithContext(context.Context) TaskSetNetworkConfigurationOutput }
TaskSetNetworkConfigurationInput is an input type that accepts TaskSetNetworkConfigurationArgs and TaskSetNetworkConfigurationOutput values. You can construct a concrete instance of `TaskSetNetworkConfigurationInput` via:
TaskSetNetworkConfigurationArgs{...}
type TaskSetNetworkConfigurationOutput ¶
type TaskSetNetworkConfigurationOutput struct{ *pulumi.OutputState }
func (TaskSetNetworkConfigurationOutput) AssignPublicIp ¶
func (o TaskSetNetworkConfigurationOutput) AssignPublicIp() pulumi.BoolPtrOutput
Whether to assign a public IP address to the ENI (`FARGATE` launch type only). Valid values are `true` or `false`. Default `false`.
func (TaskSetNetworkConfigurationOutput) ElementType ¶
func (TaskSetNetworkConfigurationOutput) ElementType() reflect.Type
func (TaskSetNetworkConfigurationOutput) SecurityGroups ¶
func (o TaskSetNetworkConfigurationOutput) SecurityGroups() pulumi.StringArrayOutput
The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. Maximum of 5.
func (TaskSetNetworkConfigurationOutput) Subnets ¶
func (o TaskSetNetworkConfigurationOutput) Subnets() pulumi.StringArrayOutput
The subnets associated with the task or service. Maximum of 16.
func (TaskSetNetworkConfigurationOutput) ToTaskSetNetworkConfigurationOutput ¶
func (o TaskSetNetworkConfigurationOutput) ToTaskSetNetworkConfigurationOutput() TaskSetNetworkConfigurationOutput
func (TaskSetNetworkConfigurationOutput) ToTaskSetNetworkConfigurationOutputWithContext ¶
func (o TaskSetNetworkConfigurationOutput) ToTaskSetNetworkConfigurationOutputWithContext(ctx context.Context) TaskSetNetworkConfigurationOutput
func (TaskSetNetworkConfigurationOutput) ToTaskSetNetworkConfigurationPtrOutput ¶
func (o TaskSetNetworkConfigurationOutput) ToTaskSetNetworkConfigurationPtrOutput() TaskSetNetworkConfigurationPtrOutput
func (TaskSetNetworkConfigurationOutput) ToTaskSetNetworkConfigurationPtrOutputWithContext ¶
func (o TaskSetNetworkConfigurationOutput) ToTaskSetNetworkConfigurationPtrOutputWithContext(ctx context.Context) TaskSetNetworkConfigurationPtrOutput
type TaskSetNetworkConfigurationPtrInput ¶
type TaskSetNetworkConfigurationPtrInput interface { pulumi.Input ToTaskSetNetworkConfigurationPtrOutput() TaskSetNetworkConfigurationPtrOutput ToTaskSetNetworkConfigurationPtrOutputWithContext(context.Context) TaskSetNetworkConfigurationPtrOutput }
TaskSetNetworkConfigurationPtrInput is an input type that accepts TaskSetNetworkConfigurationArgs, TaskSetNetworkConfigurationPtr and TaskSetNetworkConfigurationPtrOutput values. You can construct a concrete instance of `TaskSetNetworkConfigurationPtrInput` via:
TaskSetNetworkConfigurationArgs{...} or: nil
func TaskSetNetworkConfigurationPtr ¶
func TaskSetNetworkConfigurationPtr(v *TaskSetNetworkConfigurationArgs) TaskSetNetworkConfigurationPtrInput
type TaskSetNetworkConfigurationPtrOutput ¶
type TaskSetNetworkConfigurationPtrOutput struct{ *pulumi.OutputState }
func (TaskSetNetworkConfigurationPtrOutput) AssignPublicIp ¶
func (o TaskSetNetworkConfigurationPtrOutput) AssignPublicIp() pulumi.BoolPtrOutput
Whether to assign a public IP address to the ENI (`FARGATE` launch type only). Valid values are `true` or `false`. Default `false`.
func (TaskSetNetworkConfigurationPtrOutput) ElementType ¶
func (TaskSetNetworkConfigurationPtrOutput) ElementType() reflect.Type
func (TaskSetNetworkConfigurationPtrOutput) SecurityGroups ¶
func (o TaskSetNetworkConfigurationPtrOutput) SecurityGroups() pulumi.StringArrayOutput
The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. Maximum of 5.
func (TaskSetNetworkConfigurationPtrOutput) Subnets ¶
func (o TaskSetNetworkConfigurationPtrOutput) Subnets() pulumi.StringArrayOutput
The subnets associated with the task or service. Maximum of 16.
func (TaskSetNetworkConfigurationPtrOutput) ToTaskSetNetworkConfigurationPtrOutput ¶
func (o TaskSetNetworkConfigurationPtrOutput) ToTaskSetNetworkConfigurationPtrOutput() TaskSetNetworkConfigurationPtrOutput
func (TaskSetNetworkConfigurationPtrOutput) ToTaskSetNetworkConfigurationPtrOutputWithContext ¶
func (o TaskSetNetworkConfigurationPtrOutput) ToTaskSetNetworkConfigurationPtrOutputWithContext(ctx context.Context) TaskSetNetworkConfigurationPtrOutput
type TaskSetOutput ¶
type TaskSetOutput struct{ *pulumi.OutputState }
func (TaskSetOutput) Arn ¶ added in v5.4.0
func (o TaskSetOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) that identifies the task set.
func (TaskSetOutput) CapacityProviderStrategies ¶ added in v5.4.0
func (o TaskSetOutput) CapacityProviderStrategies() TaskSetCapacityProviderStrategyArrayOutput
The capacity provider strategy to use for the service. Can be one or more. Defined below.
func (TaskSetOutput) Cluster ¶ added in v5.4.0
func (o TaskSetOutput) Cluster() pulumi.StringOutput
The short name or ARN of the cluster that hosts the service to create the task set in.
func (TaskSetOutput) ElementType ¶
func (TaskSetOutput) ElementType() reflect.Type
func (TaskSetOutput) ExternalId ¶ added in v5.4.0
func (o TaskSetOutput) ExternalId() pulumi.StringOutput
The external ID associated with the task set.
func (TaskSetOutput) ForceDelete ¶ added in v5.4.0
func (o TaskSetOutput) ForceDelete() pulumi.BoolPtrOutput
Whether to allow deleting the task set without waiting for scaling down to 0. You can force a task set to delete even if it's in the process of scaling a resource. Normally, the provider drains all the tasks before deleting the task set. This bypasses that behavior and potentially leaves resources dangling.
func (TaskSetOutput) LaunchType ¶ added in v5.4.0
func (o TaskSetOutput) LaunchType() pulumi.StringOutput
The launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`.
func (TaskSetOutput) LoadBalancers ¶ added in v5.4.0
func (o TaskSetOutput) LoadBalancers() TaskSetLoadBalancerArrayOutput
Details on load balancers that are used with a task set. Detailed below.
func (TaskSetOutput) NetworkConfiguration ¶ added in v5.4.0
func (o TaskSetOutput) NetworkConfiguration() TaskSetNetworkConfigurationPtrOutput
The network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. Detailed below.
func (TaskSetOutput) PlatformVersion ¶ added in v5.4.0
func (o TaskSetOutput) PlatformVersion() pulumi.StringOutput
The platform version on which to run your service. Only applicable for `launchType` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
func (TaskSetOutput) Scale ¶ added in v5.4.0
func (o TaskSetOutput) Scale() TaskSetScaleOutput
A floating-point percentage of the desired number of tasks to place and keep running in the task set. Detailed below.
func (TaskSetOutput) Service ¶ added in v5.4.0
func (o TaskSetOutput) Service() pulumi.StringOutput
The short name or ARN of the ECS service.
func (TaskSetOutput) ServiceRegistries ¶ added in v5.4.0
func (o TaskSetOutput) ServiceRegistries() TaskSetServiceRegistriesPtrOutput
The service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. Detailed below.
func (TaskSetOutput) StabilityStatus ¶ added in v5.4.0
func (o TaskSetOutput) StabilityStatus() pulumi.StringOutput
The stability status. This indicates whether the task set has reached a steady state.
func (TaskSetOutput) Status ¶ added in v5.4.0
func (o TaskSetOutput) Status() pulumi.StringOutput
The status of the task set.
func (TaskSetOutput) Tags ¶ added in v5.4.0
func (o TaskSetOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the file system. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set `copyTagsToBackups` to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.
func (TaskSetOutput) TagsAll ¶ added in v5.4.0
func (o TaskSetOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (TaskSetOutput) TaskDefinition ¶ added in v5.4.0
func (o TaskSetOutput) TaskDefinition() pulumi.StringOutput
The family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service.
func (TaskSetOutput) TaskSetId ¶ added in v5.4.0
func (o TaskSetOutput) TaskSetId() pulumi.StringOutput
The ID of the task set.
func (TaskSetOutput) ToTaskSetOutput ¶
func (o TaskSetOutput) ToTaskSetOutput() TaskSetOutput
func (TaskSetOutput) ToTaskSetOutputWithContext ¶
func (o TaskSetOutput) ToTaskSetOutputWithContext(ctx context.Context) TaskSetOutput
func (TaskSetOutput) WaitUntilStable ¶ added in v5.4.0
func (o TaskSetOutput) WaitUntilStable() pulumi.BoolPtrOutput
Whether the provider should wait until the task set has reached `STEADY_STATE`.
func (TaskSetOutput) WaitUntilStableTimeout ¶ added in v5.4.0
func (o TaskSetOutput) WaitUntilStableTimeout() pulumi.StringPtrOutput
Wait timeout for task set to reach `STEADY_STATE`. Valid time units include `ns`, `us` (or `µs`), `ms`, `s`, `m`, and `h`. Default `10m`.
type TaskSetScale ¶
type TaskSetScale struct { // The unit of measure for the scale value. Default: `PERCENT`. Unit *string `pulumi:"unit"` // The value, specified as a percent total of a service's `desiredCount`, to scale the task set. Defaults to `0` if not specified. Accepted values are numbers between 0.0 and 100.0. Value *float64 `pulumi:"value"` }
type TaskSetScaleArgs ¶
type TaskSetScaleArgs struct { // The unit of measure for the scale value. Default: `PERCENT`. Unit pulumi.StringPtrInput `pulumi:"unit"` // The value, specified as a percent total of a service's `desiredCount`, to scale the task set. Defaults to `0` if not specified. Accepted values are numbers between 0.0 and 100.0. Value pulumi.Float64PtrInput `pulumi:"value"` }
func (TaskSetScaleArgs) ElementType ¶
func (TaskSetScaleArgs) ElementType() reflect.Type
func (TaskSetScaleArgs) ToTaskSetScaleOutput ¶
func (i TaskSetScaleArgs) ToTaskSetScaleOutput() TaskSetScaleOutput
func (TaskSetScaleArgs) ToTaskSetScaleOutputWithContext ¶
func (i TaskSetScaleArgs) ToTaskSetScaleOutputWithContext(ctx context.Context) TaskSetScaleOutput
func (TaskSetScaleArgs) ToTaskSetScalePtrOutput ¶
func (i TaskSetScaleArgs) ToTaskSetScalePtrOutput() TaskSetScalePtrOutput
func (TaskSetScaleArgs) ToTaskSetScalePtrOutputWithContext ¶
func (i TaskSetScaleArgs) ToTaskSetScalePtrOutputWithContext(ctx context.Context) TaskSetScalePtrOutput
type TaskSetScaleInput ¶
type TaskSetScaleInput interface { pulumi.Input ToTaskSetScaleOutput() TaskSetScaleOutput ToTaskSetScaleOutputWithContext(context.Context) TaskSetScaleOutput }
TaskSetScaleInput is an input type that accepts TaskSetScaleArgs and TaskSetScaleOutput values. You can construct a concrete instance of `TaskSetScaleInput` via:
TaskSetScaleArgs{...}
type TaskSetScaleOutput ¶
type TaskSetScaleOutput struct{ *pulumi.OutputState }
func (TaskSetScaleOutput) ElementType ¶
func (TaskSetScaleOutput) ElementType() reflect.Type
func (TaskSetScaleOutput) ToTaskSetScaleOutput ¶
func (o TaskSetScaleOutput) ToTaskSetScaleOutput() TaskSetScaleOutput
func (TaskSetScaleOutput) ToTaskSetScaleOutputWithContext ¶
func (o TaskSetScaleOutput) ToTaskSetScaleOutputWithContext(ctx context.Context) TaskSetScaleOutput
func (TaskSetScaleOutput) ToTaskSetScalePtrOutput ¶
func (o TaskSetScaleOutput) ToTaskSetScalePtrOutput() TaskSetScalePtrOutput
func (TaskSetScaleOutput) ToTaskSetScalePtrOutputWithContext ¶
func (o TaskSetScaleOutput) ToTaskSetScalePtrOutputWithContext(ctx context.Context) TaskSetScalePtrOutput
func (TaskSetScaleOutput) Unit ¶
func (o TaskSetScaleOutput) Unit() pulumi.StringPtrOutput
The unit of measure for the scale value. Default: `PERCENT`.
func (TaskSetScaleOutput) Value ¶
func (o TaskSetScaleOutput) Value() pulumi.Float64PtrOutput
The value, specified as a percent total of a service's `desiredCount`, to scale the task set. Defaults to `0` if not specified. Accepted values are numbers between 0.0 and 100.0.
type TaskSetScalePtrInput ¶
type TaskSetScalePtrInput interface { pulumi.Input ToTaskSetScalePtrOutput() TaskSetScalePtrOutput ToTaskSetScalePtrOutputWithContext(context.Context) TaskSetScalePtrOutput }
TaskSetScalePtrInput is an input type that accepts TaskSetScaleArgs, TaskSetScalePtr and TaskSetScalePtrOutput values. You can construct a concrete instance of `TaskSetScalePtrInput` via:
TaskSetScaleArgs{...} or: nil
func TaskSetScalePtr ¶
func TaskSetScalePtr(v *TaskSetScaleArgs) TaskSetScalePtrInput
type TaskSetScalePtrOutput ¶
type TaskSetScalePtrOutput struct{ *pulumi.OutputState }
func (TaskSetScalePtrOutput) Elem ¶
func (o TaskSetScalePtrOutput) Elem() TaskSetScaleOutput
func (TaskSetScalePtrOutput) ElementType ¶
func (TaskSetScalePtrOutput) ElementType() reflect.Type
func (TaskSetScalePtrOutput) ToTaskSetScalePtrOutput ¶
func (o TaskSetScalePtrOutput) ToTaskSetScalePtrOutput() TaskSetScalePtrOutput
func (TaskSetScalePtrOutput) ToTaskSetScalePtrOutputWithContext ¶
func (o TaskSetScalePtrOutput) ToTaskSetScalePtrOutputWithContext(ctx context.Context) TaskSetScalePtrOutput
func (TaskSetScalePtrOutput) Unit ¶
func (o TaskSetScalePtrOutput) Unit() pulumi.StringPtrOutput
The unit of measure for the scale value. Default: `PERCENT`.
func (TaskSetScalePtrOutput) Value ¶
func (o TaskSetScalePtrOutput) Value() pulumi.Float64PtrOutput
The value, specified as a percent total of a service's `desiredCount`, to scale the task set. Defaults to `0` if not specified. Accepted values are numbers between 0.0 and 100.0.
type TaskSetServiceRegistries ¶
type TaskSetServiceRegistries struct { // The container name value, already specified in the task definition, to be used for your service discovery service. ContainerName *string `pulumi:"containerName"` // The port value, already specified in the task definition, to be used for your service discovery service. ContainerPort *int `pulumi:"containerPort"` // The port value used if your Service Discovery service specified an SRV record. Port *int `pulumi:"port"` // The ARN of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service(`servicediscovery.Service` resource). For more information, see [Service](https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html). RegistryArn string `pulumi:"registryArn"` }
type TaskSetServiceRegistriesArgs ¶
type TaskSetServiceRegistriesArgs struct { // The container name value, already specified in the task definition, to be used for your service discovery service. ContainerName pulumi.StringPtrInput `pulumi:"containerName"` // The port value, already specified in the task definition, to be used for your service discovery service. ContainerPort pulumi.IntPtrInput `pulumi:"containerPort"` // The port value used if your Service Discovery service specified an SRV record. Port pulumi.IntPtrInput `pulumi:"port"` // The ARN of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service(`servicediscovery.Service` resource). For more information, see [Service](https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html). RegistryArn pulumi.StringInput `pulumi:"registryArn"` }
func (TaskSetServiceRegistriesArgs) ElementType ¶
func (TaskSetServiceRegistriesArgs) ElementType() reflect.Type
func (TaskSetServiceRegistriesArgs) ToTaskSetServiceRegistriesOutput ¶
func (i TaskSetServiceRegistriesArgs) ToTaskSetServiceRegistriesOutput() TaskSetServiceRegistriesOutput
func (TaskSetServiceRegistriesArgs) ToTaskSetServiceRegistriesOutputWithContext ¶
func (i TaskSetServiceRegistriesArgs) ToTaskSetServiceRegistriesOutputWithContext(ctx context.Context) TaskSetServiceRegistriesOutput
func (TaskSetServiceRegistriesArgs) ToTaskSetServiceRegistriesPtrOutput ¶
func (i TaskSetServiceRegistriesArgs) ToTaskSetServiceRegistriesPtrOutput() TaskSetServiceRegistriesPtrOutput
func (TaskSetServiceRegistriesArgs) ToTaskSetServiceRegistriesPtrOutputWithContext ¶
func (i TaskSetServiceRegistriesArgs) ToTaskSetServiceRegistriesPtrOutputWithContext(ctx context.Context) TaskSetServiceRegistriesPtrOutput
type TaskSetServiceRegistriesInput ¶
type TaskSetServiceRegistriesInput interface { pulumi.Input ToTaskSetServiceRegistriesOutput() TaskSetServiceRegistriesOutput ToTaskSetServiceRegistriesOutputWithContext(context.Context) TaskSetServiceRegistriesOutput }
TaskSetServiceRegistriesInput is an input type that accepts TaskSetServiceRegistriesArgs and TaskSetServiceRegistriesOutput values. You can construct a concrete instance of `TaskSetServiceRegistriesInput` via:
TaskSetServiceRegistriesArgs{...}
type TaskSetServiceRegistriesOutput ¶
type TaskSetServiceRegistriesOutput struct{ *pulumi.OutputState }
func (TaskSetServiceRegistriesOutput) ContainerName ¶
func (o TaskSetServiceRegistriesOutput) ContainerName() pulumi.StringPtrOutput
The container name value, already specified in the task definition, to be used for your service discovery service.
func (TaskSetServiceRegistriesOutput) ContainerPort ¶
func (o TaskSetServiceRegistriesOutput) ContainerPort() pulumi.IntPtrOutput
The port value, already specified in the task definition, to be used for your service discovery service.
func (TaskSetServiceRegistriesOutput) ElementType ¶
func (TaskSetServiceRegistriesOutput) ElementType() reflect.Type
func (TaskSetServiceRegistriesOutput) Port ¶
func (o TaskSetServiceRegistriesOutput) Port() pulumi.IntPtrOutput
The port value used if your Service Discovery service specified an SRV record.
func (TaskSetServiceRegistriesOutput) RegistryArn ¶
func (o TaskSetServiceRegistriesOutput) RegistryArn() pulumi.StringOutput
The ARN of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service(`servicediscovery.Service` resource). For more information, see Service(https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html).
func (TaskSetServiceRegistriesOutput) ToTaskSetServiceRegistriesOutput ¶
func (o TaskSetServiceRegistriesOutput) ToTaskSetServiceRegistriesOutput() TaskSetServiceRegistriesOutput
func (TaskSetServiceRegistriesOutput) ToTaskSetServiceRegistriesOutputWithContext ¶
func (o TaskSetServiceRegistriesOutput) ToTaskSetServiceRegistriesOutputWithContext(ctx context.Context) TaskSetServiceRegistriesOutput
func (TaskSetServiceRegistriesOutput) ToTaskSetServiceRegistriesPtrOutput ¶
func (o TaskSetServiceRegistriesOutput) ToTaskSetServiceRegistriesPtrOutput() TaskSetServiceRegistriesPtrOutput
func (TaskSetServiceRegistriesOutput) ToTaskSetServiceRegistriesPtrOutputWithContext ¶
func (o TaskSetServiceRegistriesOutput) ToTaskSetServiceRegistriesPtrOutputWithContext(ctx context.Context) TaskSetServiceRegistriesPtrOutput
type TaskSetServiceRegistriesPtrInput ¶
type TaskSetServiceRegistriesPtrInput interface { pulumi.Input ToTaskSetServiceRegistriesPtrOutput() TaskSetServiceRegistriesPtrOutput ToTaskSetServiceRegistriesPtrOutputWithContext(context.Context) TaskSetServiceRegistriesPtrOutput }
TaskSetServiceRegistriesPtrInput is an input type that accepts TaskSetServiceRegistriesArgs, TaskSetServiceRegistriesPtr and TaskSetServiceRegistriesPtrOutput values. You can construct a concrete instance of `TaskSetServiceRegistriesPtrInput` via:
TaskSetServiceRegistriesArgs{...} or: nil
func TaskSetServiceRegistriesPtr ¶
func TaskSetServiceRegistriesPtr(v *TaskSetServiceRegistriesArgs) TaskSetServiceRegistriesPtrInput
type TaskSetServiceRegistriesPtrOutput ¶
type TaskSetServiceRegistriesPtrOutput struct{ *pulumi.OutputState }
func (TaskSetServiceRegistriesPtrOutput) ContainerName ¶
func (o TaskSetServiceRegistriesPtrOutput) ContainerName() pulumi.StringPtrOutput
The container name value, already specified in the task definition, to be used for your service discovery service.
func (TaskSetServiceRegistriesPtrOutput) ContainerPort ¶
func (o TaskSetServiceRegistriesPtrOutput) ContainerPort() pulumi.IntPtrOutput
The port value, already specified in the task definition, to be used for your service discovery service.
func (TaskSetServiceRegistriesPtrOutput) Elem ¶
func (o TaskSetServiceRegistriesPtrOutput) Elem() TaskSetServiceRegistriesOutput
func (TaskSetServiceRegistriesPtrOutput) ElementType ¶
func (TaskSetServiceRegistriesPtrOutput) ElementType() reflect.Type
func (TaskSetServiceRegistriesPtrOutput) Port ¶
func (o TaskSetServiceRegistriesPtrOutput) Port() pulumi.IntPtrOutput
The port value used if your Service Discovery service specified an SRV record.
func (TaskSetServiceRegistriesPtrOutput) RegistryArn ¶
func (o TaskSetServiceRegistriesPtrOutput) RegistryArn() pulumi.StringPtrOutput
The ARN of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service(`servicediscovery.Service` resource). For more information, see Service(https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html).
func (TaskSetServiceRegistriesPtrOutput) ToTaskSetServiceRegistriesPtrOutput ¶
func (o TaskSetServiceRegistriesPtrOutput) ToTaskSetServiceRegistriesPtrOutput() TaskSetServiceRegistriesPtrOutput
func (TaskSetServiceRegistriesPtrOutput) ToTaskSetServiceRegistriesPtrOutputWithContext ¶
func (o TaskSetServiceRegistriesPtrOutput) ToTaskSetServiceRegistriesPtrOutputWithContext(ctx context.Context) TaskSetServiceRegistriesPtrOutput
type TaskSetState ¶
type TaskSetState struct { // The Amazon Resource Name (ARN) that identifies the task set. Arn pulumi.StringPtrInput // The capacity provider strategy to use for the service. Can be one or more. Defined below. CapacityProviderStrategies TaskSetCapacityProviderStrategyArrayInput // The short name or ARN of the cluster that hosts the service to create the task set in. Cluster pulumi.StringPtrInput // The external ID associated with the task set. ExternalId pulumi.StringPtrInput // Whether to allow deleting the task set without waiting for scaling down to 0. You can force a task set to delete even if it's in the process of scaling a resource. Normally, the provider drains all the tasks before deleting the task set. This bypasses that behavior and potentially leaves resources dangling. ForceDelete pulumi.BoolPtrInput // The launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`. LaunchType pulumi.StringPtrInput // Details on load balancers that are used with a task set. Detailed below. LoadBalancers TaskSetLoadBalancerArrayInput // The network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. Detailed below. NetworkConfiguration TaskSetNetworkConfigurationPtrInput // The platform version on which to run your service. Only applicable for `launchType` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html). PlatformVersion pulumi.StringPtrInput // A floating-point percentage of the desired number of tasks to place and keep running in the task set. Detailed below. Scale TaskSetScalePtrInput // The short name or ARN of the ECS service. Service pulumi.StringPtrInput // The service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. Detailed below. ServiceRegistries TaskSetServiceRegistriesPtrInput // The stability status. This indicates whether the task set has reached a steady state. StabilityStatus pulumi.StringPtrInput // The status of the task set. Status pulumi.StringPtrInput // A map of tags to assign to the file system. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set `copyTagsToBackups` to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput // The family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. TaskDefinition pulumi.StringPtrInput // The ID of the task set. TaskSetId pulumi.StringPtrInput // Whether the provider should wait until the task set has reached `STEADY_STATE`. WaitUntilStable pulumi.BoolPtrInput // Wait timeout for task set to reach `STEADY_STATE`. Valid time units include `ns`, `us` (or `µs`), `ms`, `s`, `m`, and `h`. Default `10m`. WaitUntilStableTimeout pulumi.StringPtrInput }
func (TaskSetState) ElementType ¶
func (TaskSetState) ElementType() reflect.Type