CfnS3AccessPointAttachmentProps Struct
Properties for defining a CfnS3AccessPointAttachment.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fsx as fsx } from 'aws-cdk-lib';
declare const policy: any;
const cfnS3AccessPointAttachmentProps: fsx.CfnS3AccessPointAttachmentProps = {
name: 'name',
type: 'type',
// the properties below are optional
ontapConfiguration: {
fileSystemIdentity: {
type: 'type',
// the properties below are optional
unixUser: {
name: 'name',
},
windowsUser: {
name: 'name',
},
},
volumeId: 'volumeId',
},
openZfsConfiguration: {
fileSystemIdentity: {
posixUser: {
gid: 123,
uid: 123,
// the properties below are optional
secondaryGids: [{
gid: 123,
}],
},
type: 'type',
},
volumeId: 'volumeId',
},
s3AccessPoint: {
alias: 'alias',
policy: policy,
resourceArn: 'resourceArn',
vpcConfiguration: {
vpcId: 'vpcId',
},
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_fsx as fsx
# policy: Any
cfn_s3_access_point_attachment_props = fsx.CfnS3AccessPointAttachmentProps(
name="name",
type="type",
# the properties below are optional
ontap_configuration=fsx.CfnS3AccessPointAttachment.S3AccessPointOntapConfigurationProperty(
file_system_identity=fsx.CfnS3AccessPointAttachment.OntapFileSystemIdentityProperty(
type="type",
# the properties below are optional
unix_user=fsx.CfnS3AccessPointAttachment.OntapUnixFileSystemUserProperty(
name="name"
),
windows_user=fsx.CfnS3AccessPointAttachment.OntapWindowsFileSystemUserProperty(
name="name"
)
),
volume_id="volumeId"
),
open_zfs_configuration=fsx.CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty(
file_system_identity=fsx.CfnS3AccessPointAttachment.OpenZFSFileSystemIdentityProperty(
posix_user=fsx.CfnS3AccessPointAttachment.OpenZFSPosixFileSystemUserProperty(
gid=123,
uid=123,
# the properties below are optional
secondary_gids=[fsx.CfnS3AccessPointAttachment.FileSystemGIDProperty(
gid=123
)]
),
type="type"
),
volume_id="volumeId"
),
s3_access_point=fsx.CfnS3AccessPointAttachment.S3AccessPointProperty(
alias="alias",
policy=policy,
resource_arn="resourceArn",
vpc_configuration=fsx.CfnS3AccessPointAttachment.S3AccessPointVpcConfigurationProperty(
vpc_id="vpcId"
)
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.fsx.*;
Object policy;
CfnS3AccessPointAttachmentProps cfnS3AccessPointAttachmentProps = CfnS3AccessPointAttachmentProps.builder()
.name("name")
.type("type")
// the properties below are optional
.ontapConfiguration(S3AccessPointOntapConfigurationProperty.builder()
.fileSystemIdentity(OntapFileSystemIdentityProperty.builder()
.type("type")
// the properties below are optional
.unixUser(OntapUnixFileSystemUserProperty.builder()
.name("name")
.build())
.windowsUser(OntapWindowsFileSystemUserProperty.builder()
.name("name")
.build())
.build())
.volumeId("volumeId")
.build())
.openZfsConfiguration(S3AccessPointOpenZFSConfigurationProperty.builder()
.fileSystemIdentity(OpenZFSFileSystemIdentityProperty.builder()
.posixUser(OpenZFSPosixFileSystemUserProperty.builder()
.gid(123)
.uid(123)
// the properties below are optional
.secondaryGids(List.of(FileSystemGIDProperty.builder()
.gid(123)
.build()))
.build())
.type("type")
.build())
.volumeId("volumeId")
.build())
.s3AccessPoint(S3AccessPointProperty.builder()
.alias("alias")
.policy(policy)
.resourceArn("resourceArn")
.vpcConfiguration(S3AccessPointVpcConfigurationProperty.builder()
.vpcId("vpcId")
.build())
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.FSx;
var policy;
var cfnS3AccessPointAttachmentProps = new CfnS3AccessPointAttachmentProps {
Name = "name",
Type = "type",
// the properties below are optional
OntapConfiguration = new S3AccessPointOntapConfigurationProperty {
FileSystemIdentity = new OntapFileSystemIdentityProperty {
Type = "type",
// the properties below are optional
UnixUser = new OntapUnixFileSystemUserProperty {
Name = "name"
},
WindowsUser = new OntapWindowsFileSystemUserProperty {
Name = "name"
}
},
VolumeId = "volumeId"
},
OpenZfsConfiguration = new S3AccessPointOpenZFSConfigurationProperty {
FileSystemIdentity = new OpenZFSFileSystemIdentityProperty {
PosixUser = new OpenZFSPosixFileSystemUserProperty {
Gid = 123,
Uid = 123,
// the properties below are optional
SecondaryGids = new [] { new FileSystemGIDProperty {
Gid = 123
} }
},
Type = "type"
},
VolumeId = "volumeId"
},
S3AccessPoint = new S3AccessPointProperty {
Alias = "alias",
Policy = policy,
ResourceArn = "resourceArn",
VpcConfiguration = new S3AccessPointVpcConfigurationProperty {
VpcId = "vpcId"
}
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var policy interface{}
cfnS3AccessPointAttachmentProps := &CfnS3AccessPointAttachmentProps{
Name: jsii.String("name"),
Type: jsii.String("type"),
// the properties below are optional
OntapConfiguration: &S3AccessPointOntapConfigurationProperty{
FileSystemIdentity: &OntapFileSystemIdentityProperty{
Type: jsii.String("type"),
// the properties below are optional
UnixUser: &OntapUnixFileSystemUserProperty{
Name: jsii.String("name"),
},
WindowsUser: &OntapWindowsFileSystemUserProperty{
Name: jsii.String("name"),
},
},
VolumeId: jsii.String("volumeId"),
},
OpenZfsConfiguration: &S3AccessPointOpenZFSConfigurationProperty{
FileSystemIdentity: &OpenZFSFileSystemIdentityProperty{
PosixUser: &OpenZFSPosixFileSystemUserProperty{
Gid: jsii.Number(123),
Uid: jsii.Number(123),
// the properties below are optional
SecondaryGids: []interface{}{
&FileSystemGIDProperty{
Gid: jsii.Number(123),
},
},
},
Type: jsii.String("type"),
},
VolumeId: jsii.String("volumeId"),
},
S3AccessPoint: &S3AccessPointProperty{
Alias: jsii.String("alias"),
Policy: policy,
ResourceArn: jsii.String("resourceArn"),
VpcConfiguration: &S3AccessPointVpcConfigurationProperty{
VpcId: jsii.String("vpcId"),
},
},
}
Properties
The name of the S3 access point attachment;
also used for the name of the S3 access point.
ontapConfigurationoptionalIResolvable | CfnS3AccessPointAttachment.ontap_configurationoptionaltyping.Union[IResolvable, S3AccessPointOntapConfigurationProperty]ontapConfigurationoptionalIResolvableOntapConfigurationoptionalIResolvableOntapConfigurationoptionalinterface{} #The ONTAP configuration of the S3 access point attachment.
openZfsConfigurationoptionalIResolvable | CfnS3AccessPointAttachment.open_zfs_configurationoptionaltyping.Union[IResolvable, S3AccessPointOpenZFSConfigurationProperty]openZfsConfigurationoptionalIResolvableOpenZfsConfigurationoptionalIResolvableOpenZfsConfigurationoptionalinterface{} #The OpenZFSConfiguration of the S3 access point attachment.
s3AccessPointoptionalIResolvable | CfnS3AccessPointAttachment.s3_access_pointoptionaltyping.Union[IResolvable, S3AccessPointProperty]s3AccessPointoptionalIResolvableS3AccessPointoptionalIResolvableS3AccessPointoptionalinterface{} #The S3 access point configuration of the S3 access point attachment.
The type of Amazon FSx volume that the S3 access point is attached to.