Interface IFargateTaskDefinitionAttributes
Attributes used to import an existing Fargate task definition.
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IFargateTaskDefinitionAttributes : ICommonTaskDefinitionAttributes
Syntax (vb)
Public Interface IFargateTaskDefinitionAttributes
Inherits ICommonTaskDefinitionAttributes
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
using Amazon.CDK.AWS.IAM;
Role role;
var fargateTaskDefinitionAttributes = new FargateTaskDefinitionAttributes {
TaskDefinitionArn = "taskDefinitionArn",
// the properties below are optional
NetworkMode = NetworkMode.NONE,
TaskRole = role
};