class CfnContainerGroupDefinitionPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GameLift.Mixins.CfnContainerGroupDefinitionPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgamelift/mixins#CfnContainerGroupDefinitionPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.gamelift.mixins.CfnContainerGroupDefinitionPropsMixin |
Python | aws_cdk.mixins_preview.aws_gamelift.mixins.CfnContainerGroupDefinitionPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_gamelift » mixins » CfnContainerGroupDefinitionPropsMixin |
Implements
IMixin
Extends
Mixin
The properties that describe a container group resource.
You can update all properties of a container group definition properties. Updates to a container group definition are saved as new versions.
Used with: CreateContainerGroupDefinition
Returned by: DescribeContainerGroupDefinition , ListContainerGroupDefinitions , UpdateContainerGroupDefinition
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as gamelift_mixins } from '@aws-cdk/mixins-preview/aws-gamelift';
const cfnContainerGroupDefinitionPropsMixin = new gamelift_mixins.CfnContainerGroupDefinitionPropsMixin({
containerGroupType: 'containerGroupType',
gameServerContainerDefinition: {
containerName: 'containerName',
dependsOn: [{
condition: 'condition',
containerName: 'containerName',
}],
environmentOverride: [{
name: 'name',
value: 'value',
}],
imageUri: 'imageUri',
mountPoints: [{
accessLevel: 'accessLevel',
containerPath: 'containerPath',
instancePath: 'instancePath',
}],
portConfiguration: {
containerPortRanges: [{
fromPort: 123,
protocol: 'protocol',
toPort: 123,
}],
},
resolvedImageDigest: 'resolvedImageDigest',
serverSdkVersion: 'serverSdkVersion',
},
name: 'name',
operatingSystem: 'operatingSystem',
sourceVersionNumber: 123,
supportContainerDefinitions: [{
containerName: 'containerName',
dependsOn: [{
condition: 'condition',
containerName: 'containerName',
}],
environmentOverride: [{
name: 'name',
value: 'value',
}],
essential: false,
healthCheck: {
command: ['command'],
interval: 123,
retries: 123,
startPeriod: 123,
timeout: 123,
},
imageUri: 'imageUri',
memoryHardLimitMebibytes: 123,
mountPoints: [{
accessLevel: 'accessLevel',
containerPath: 'containerPath',
instancePath: 'instancePath',
}],
portConfiguration: {
containerPortRanges: [{
fromPort: 123,
protocol: 'protocol',
toPort: 123,
}],
},
resolvedImageDigest: 'resolvedImageDigest',
vcpu: 123,
}],
tags: [{
key: 'key',
value: 'value',
}],
totalMemoryLimitMebibytes: 123,
totalVcpuLimit: 123,
versionDescription: 'versionDescription',
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnContainerGroupDefinitionPropsMixin(props: CfnContainerGroupDefinitionMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Container Group Definition Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::GameLift::ContainerGroupDefinition.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript