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)[] | |
| cpu? | string | |
| execution | string | |
| family? | string | |
| memory? | string | |
| tags? | Cfn[] | |
| task | string | |
| volumes? | IResolvable | (IResolvable | Volume)[] |
containerDefinitions?
Type:
IResolvable | (IResolvable | Daemon)[]
(optional)
cpu?
Type:
string
(optional)
executionRoleArn?
Type:
string
(optional)
family?
Type:
string
(optional)
memory?
Type:
string
(optional)
tags?
Type:
Cfn[]
(optional)
taskRoleArn?
Type:
string
(optional)
volumes?
Type:
IResolvable | (IResolvable | Volume)[]
(optional)

.NET
Go
Java
Python
TypeScript