Class EcsTaskDefinition

  • All Implemented Interfaces:
    com.hashicorp.cdktf.IInterpolatingParent, com.hashicorp.cdktf.ITerraformAddressable, com.hashicorp.cdktf.ITerraformDependable, com.hashicorp.cdktf.ITerraformResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
               date="2023-06-30T04:56:52.864Z")
    @Stability(Stable)
    public class EcsTaskDefinition
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ecs_task_definition aws_ecs_task_definition}.
    • Field Detail

      • TF_RESOURCE_TYPE

        @Stability(Stable)
        public static final String TF_RESOURCE_TYPE
    • Constructor Detail

      • EcsTaskDefinition

        protected EcsTaskDefinition​(software.amazon.jsii.JsiiObjectRef objRef)
      • EcsTaskDefinition

        protected EcsTaskDefinition​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • EcsTaskDefinition

        @Stability(Stable)
        public EcsTaskDefinition​(@NotNull
                                 software.constructs.Construct scope,
                                 @NotNull
                                 String id,
                                 @NotNull
                                 EcsTaskDefinitionConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ecs_task_definition aws_ecs_task_definition} Resource.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        config - This parameter is required.
    • Method Detail

      • putEphemeralStorage

        @Stability(Stable)
        public void putEphemeralStorage​(@NotNull
                                        EcsTaskDefinitionEphemeralStorage value)
        Parameters:
        value - This parameter is required.
      • putInferenceAccelerator

        @Stability(Stable)
        public void putInferenceAccelerator​(@NotNull
                                            Object value)
        Parameters:
        value - This parameter is required.
      • putPlacementConstraints

        @Stability(Stable)
        public void putPlacementConstraints​(@NotNull
                                            Object value)
        Parameters:
        value - This parameter is required.
      • putProxyConfiguration

        @Stability(Stable)
        public void putProxyConfiguration​(@NotNull
                                          EcsTaskDefinitionProxyConfiguration value)
        Parameters:
        value - This parameter is required.
      • putRuntimePlatform

        @Stability(Stable)
        public void putRuntimePlatform​(@NotNull
                                       EcsTaskDefinitionRuntimePlatform value)
        Parameters:
        value - This parameter is required.
      • putVolume

        @Stability(Stable)
        public void putVolume​(@NotNull
                              Object value)
        Parameters:
        value - This parameter is required.
      • resetCpu

        @Stability(Stable)
        public void resetCpu()
      • resetEphemeralStorage

        @Stability(Stable)
        public void resetEphemeralStorage()
      • resetExecutionRoleArn

        @Stability(Stable)
        public void resetExecutionRoleArn()
      • resetId

        @Stability(Stable)
        public void resetId()
      • resetInferenceAccelerator

        @Stability(Stable)
        public void resetInferenceAccelerator()
      • resetIpcMode

        @Stability(Stable)
        public void resetIpcMode()
      • resetMemory

        @Stability(Stable)
        public void resetMemory()
      • resetNetworkMode

        @Stability(Stable)
        public void resetNetworkMode()
      • resetPidMode

        @Stability(Stable)
        public void resetPidMode()
      • resetPlacementConstraints

        @Stability(Stable)
        public void resetPlacementConstraints()
      • resetProxyConfiguration

        @Stability(Stable)
        public void resetProxyConfiguration()
      • resetRequiresCompatibilities

        @Stability(Stable)
        public void resetRequiresCompatibilities()
      • resetRuntimePlatform

        @Stability(Stable)
        public void resetRuntimePlatform()
      • resetSkipDestroy

        @Stability(Stable)
        public void resetSkipDestroy()
      • resetTags

        @Stability(Stable)
        public void resetTags()
      • resetTagsAll

        @Stability(Stable)
        public void resetTagsAll()
      • resetTaskRoleArn

        @Stability(Stable)
        public void resetTaskRoleArn()
      • resetVolume

        @Stability(Stable)
        public void resetVolume()
      • synthesizeAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeAttributes()
        Overrides:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformResource
      • getArn

        @Stability(Stable)
        @NotNull
        public String getArn()
      • getArnWithoutRevision

        @Stability(Stable)
        @NotNull
        public String getArnWithoutRevision()
      • getRevision

        @Stability(Stable)
        @NotNull
        public Number getRevision()
      • getContainerDefinitionsInput

        @Stability(Stable)
        @Nullable
        public String getContainerDefinitionsInput()
      • getCpuInput

        @Stability(Stable)
        @Nullable
        public String getCpuInput()
      • getExecutionRoleArnInput

        @Stability(Stable)
        @Nullable
        public String getExecutionRoleArnInput()
      • getFamilyInput

        @Stability(Stable)
        @Nullable
        public String getFamilyInput()
      • getIdInput

        @Stability(Stable)
        @Nullable
        public String getIdInput()
      • getInferenceAcceleratorInput

        @Stability(Stable)
        @Nullable
        public Object getInferenceAcceleratorInput()
      • getIpcModeInput

        @Stability(Stable)
        @Nullable
        public String getIpcModeInput()
      • getMemoryInput

        @Stability(Stable)
        @Nullable
        public String getMemoryInput()
      • getNetworkModeInput

        @Stability(Stable)
        @Nullable
        public String getNetworkModeInput()
      • getPidModeInput

        @Stability(Stable)
        @Nullable
        public String getPidModeInput()
      • getPlacementConstraintsInput

        @Stability(Stable)
        @Nullable
        public Object getPlacementConstraintsInput()
      • getRequiresCompatibilitiesInput

        @Stability(Stable)
        @Nullable
        public List<String> getRequiresCompatibilitiesInput()
      • getSkipDestroyInput

        @Stability(Stable)
        @Nullable
        public Object getSkipDestroyInput()
      • getTagsAllInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getTagsAllInput()
      • getTagsInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getTagsInput()
      • getTaskRoleArnInput

        @Stability(Stable)
        @Nullable
        public String getTaskRoleArnInput()
      • getVolumeInput

        @Stability(Stable)
        @Nullable
        public Object getVolumeInput()
      • getContainerDefinitions

        @Stability(Stable)
        @NotNull
        public String getContainerDefinitions()
      • setContainerDefinitions

        @Stability(Stable)
        public void setContainerDefinitions​(@NotNull
                                            String value)
      • getCpu

        @Stability(Stable)
        @NotNull
        public String getCpu()
      • setCpu

        @Stability(Stable)
        public void setCpu​(@NotNull
                           String value)
      • getExecutionRoleArn

        @Stability(Stable)
        @NotNull
        public String getExecutionRoleArn()
      • setExecutionRoleArn

        @Stability(Stable)
        public void setExecutionRoleArn​(@NotNull
                                        String value)
      • getFamily

        @Stability(Stable)
        @NotNull
        public String getFamily()
      • setFamily

        @Stability(Stable)
        public void setFamily​(@NotNull
                              String value)
      • getId

        @Stability(Stable)
        @NotNull
        public String getId()
      • setId

        @Stability(Stable)
        public void setId​(@NotNull
                          String value)
      • getIpcMode

        @Stability(Stable)
        @NotNull
        public String getIpcMode()
      • setIpcMode

        @Stability(Stable)
        public void setIpcMode​(@NotNull
                               String value)
      • getMemory

        @Stability(Stable)
        @NotNull
        public String getMemory()
      • setMemory

        @Stability(Stable)
        public void setMemory​(@NotNull
                              String value)
      • getNetworkMode

        @Stability(Stable)
        @NotNull
        public String getNetworkMode()
      • setNetworkMode

        @Stability(Stable)
        public void setNetworkMode​(@NotNull
                                   String value)
      • getPidMode

        @Stability(Stable)
        @NotNull
        public String getPidMode()
      • setPidMode

        @Stability(Stable)
        public void setPidMode​(@NotNull
                               String value)
      • getRequiresCompatibilities

        @Stability(Stable)
        @NotNull
        public List<String> getRequiresCompatibilities()
      • setRequiresCompatibilities

        @Stability(Stable)
        public void setRequiresCompatibilities​(@NotNull
                                               List<String> value)
      • getSkipDestroy

        @Stability(Stable)
        @NotNull
        public Object getSkipDestroy()
      • setSkipDestroy

        @Stability(Stable)
        public void setSkipDestroy​(@NotNull
                                   Boolean value)
      • setSkipDestroy

        @Stability(Stable)
        public void setSkipDestroy​(@NotNull
                                   com.hashicorp.cdktf.IResolvable value)
      • getTags

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getTags()
      • setTags

        @Stability(Stable)
        public void setTags​(@NotNull
                            Map<String,​String> value)
      • getTagsAll

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getTagsAll()
      • setTagsAll

        @Stability(Stable)
        public void setTagsAll​(@NotNull
                               Map<String,​String> value)
      • getTaskRoleArn

        @Stability(Stable)
        @NotNull
        public String getTaskRoleArn()
      • setTaskRoleArn

        @Stability(Stable)
        public void setTaskRoleArn​(@NotNull
                                   String value)