Interface IExternalTaskDefinitionAttributes
Attributes used to import an existing External task definition.
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IExternalTaskDefinitionAttributes : ICommonTaskDefinitionAttributes
Syntax (vb)
Public Interface IExternalTaskDefinitionAttributes
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 externalTaskDefinitionAttributes = new ExternalTaskDefinitionAttributes {
TaskDefinitionArn = "taskDefinitionArn",
// the properties below are optional
NetworkMode = NetworkMode.NONE,
TaskRole = role
};