interface CfnDaemonTaskDefinitionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ECS.CfnDaemonTaskDefinitionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsecs#CfnDaemonTaskDefinitionMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnDaemonTaskDefinitionMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_ecs.CfnDaemonTaskDefinitionMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ecs » CfnDaemonTaskDefinitionMixinProps |
Properties for CfnDaemonTaskDefinitionPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from '@aws-cdk/cfn-property-mixins';
const cfnDaemonTaskDefinitionMixinProps: ecs.CfnDaemonTaskDefinitionMixinProps = {
containerDefinitions: [{
command: ['command'],
cpu: 123,
dependsOn: [{
condition: 'condition',
containerName: 'containerName',
}],
entryPoint: ['entryPoint'],
environment: [{
name: 'name',
value: 'value',
}],
environmentFiles: [{
type: 'type',
value: 'value',
}],
essential: false,
firelensConfiguration: {
options: {
optionsKey: 'options',
},
type: 'type',
},
healthCheck: {
command: ['command'],
interval: 123,
retries: 123,
startPeriod: 123,
timeout: 123,
},
image: 'image',
interactive: false,
linuxParameters: {
capabilities: {
add: ['add'],
drop: ['drop'],
},
devices: [{
containerPath: 'containerPath',
hostPath: 'hostPath',
permissions: ['permissions'],
}],
initProcessEnabled: false,
tmpfs: [{
containerPath: 'containerPath',
mountOptions: ['mountOptions'],
size: 123,
}],
},
logConfiguration: {
logDriver: 'logDriver',
options: {
optionsKey: 'options',
},
secretOptions: [{
name: 'name',
valueFrom: 'valueFrom',
}],
},
memory: 123,
memoryReservation: 123,
mountPoints: [{
containerPath: 'containerPath',
readOnly: false,
sourceVolume: 'sourceVolume',
}],
name: 'name',
privileged: false,
pseudoTerminal: false,
readonlyRootFilesystem: false,
repositoryCredentials: {
credentialsParameter: 'credentialsParameter',
},
restartPolicy: {
enabled: false,
ignoredExitCodes: [123],
restartAttemptPeriod: 123,
},
secrets: [{
name: 'name',
valueFrom: 'valueFrom',
}],
startTimeout: 123,
stopTimeout: 123,
systemControls: [{
namespace: 'namespace',
value: 'value',
}],
ulimits: [{
hardLimit: 123,
name: 'name',
softLimit: 123,
}],
user: 'user',
workingDirectory: 'workingDirectory',
}],
cpu: 'cpu',
executionRoleArn: 'executionRoleArn',
family: 'family',
memory: 'memory',
tags: [{
key: 'key',
value: 'value',
}],
taskRoleArn: 'taskRoleArn',
volumes: [{
host: {
sourcePath: 'sourcePath',
},
name: 'name',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| container | IResolvable | (IResolvable | Daemon)[] | A list of container definitions in JSON format that describe the containers that make up the daemon task. |
| cpu? | string | The number of CPU units used by the daemon task. |
| execution | string | The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make Amazon Web Services API calls on your behalf. |
| family? | string | The name of a family that this daemon task definition is registered to. |
| memory? | string | The amount of memory (in MiB) used by the daemon task. |
| tags? | Cfn[] | |
| task | string | The short name or full Amazon Resource Name (ARN) of the IAM role that grants containers in the daemon task permission to call Amazon Web Services APIs on your behalf. |
| volumes? | IResolvable | (IResolvable | Volume)[] | The list of data volume definitions for the daemon task. |
containerDefinitions?
Type:
IResolvable | (IResolvable | Daemon)[]
(optional)
A list of container definitions in JSON format that describe the containers that make up the daemon task.
cpu?
Type:
string
(optional)
The number of CPU units used by the daemon task.
executionRoleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make Amazon Web Services API calls on your behalf.
family?
Type:
string
(optional)
The name of a family that this daemon task definition is registered to.
memory?
Type:
string
(optional)
The amount of memory (in MiB) used by the daemon task.
tags?
Type:
Cfn[]
(optional)
taskRoleArn?
Type:
string
(optional)
The short name or full Amazon Resource Name (ARN) of the IAM role that grants containers in the daemon task permission to call Amazon Web Services APIs on your behalf.
volumes?
Type:
IResolvable | (IResolvable | Volume)[]
(optional)
The list of data volume definitions for the daemon task.

.NET
Go
Java
Python
TypeScript