interface S3FilesVolumeConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ECS.CfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsecs#CfnTaskDefinitionPropsMixin_S3FilesVolumeConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_ecs.CfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ecs » CfnTaskDefinitionPropsMixin » S3FilesVolumeConfigurationProperty |
This parameter is specified when you're using an Amazon S3 Files file system for task storage.
For more information, see Amazon S3 Files volumes in the Amazon Elastic Container Service Developer Guide. Your task definition must include a Task IAM Role. See IAM role for attaching your file system to compute resources for required permissions.
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 s3FilesVolumeConfigurationProperty: ecs.CfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty = {
accessPointArn: 'accessPointArn',
fileSystemArn: 'fileSystemArn',
rootDirectory: 'rootDirectory',
transitEncryptionPort: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| access | string | The full ARN of the S3 Files access point to use. |
| file | string | The full ARN of the S3 Files file system to mount. |
| root | string | The directory within the Amazon S3 Files file system to mount as the root directory. |
| transit | number | The port to use for sending encrypted data between the ECS host and the S3 Files file system. |
accessPointArn?
Type:
string
(optional)
The full ARN of the S3 Files access point to use.
If an access point is specified, the root directory value specified in the S3FilesVolumeConfiguration must either be omitted or set to / which will enforce the path set on the S3 Files access point. For more information, see Creating S3 Files access points.
fileSystemArn?
Type:
string
(optional)
The full ARN of the S3 Files file system to mount.
rootDirectory?
Type:
string
(optional)
The directory within the Amazon S3 Files file system to mount as the root directory.
If this parameter is omitted, the root of the Amazon S3 Files file system will be used. Specifying / will have the same effect as omitting this parameter.
If a S3 Files access point is specified in the accessPointArn, the root directory parameter must either be omitted or set to / which will enforce the path set on the S3 Files access point.
transitEncryptionPort?
Type:
number
(optional)
The port to use for sending encrypted data between the ECS host and the S3 Files file system.
If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon S3 Files mount helper uses. For more information, see S3 Files mount helper.

.NET
Go
Java
Python
TypeScript