CfnFileSystemPolicyProps Struct
Properties for defining a CfnFileSystemPolicy.
| 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_s3files as s3files } from 'aws-cdk-lib';
declare const policy: any;
const cfnFileSystemPolicyProps: s3files.CfnFileSystemPolicyProps = {
fileSystemId: 'fileSystemId',
policy: policy,
};
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_s3files as s3files
# policy: Any
cfn_file_system_policy_props = s3files.CfnFileSystemPolicyProps(
file_system_id="fileSystemId",
policy=policy
)
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.s3files.*;
Object policy;
CfnFileSystemPolicyProps cfnFileSystemPolicyProps = CfnFileSystemPolicyProps.builder()
.fileSystemId("fileSystemId")
.policy(policy)
.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.S3Files;
var policy;
var cfnFileSystemPolicyProps = new CfnFileSystemPolicyProps {
FileSystemId = "fileSystemId",
Policy = policy
};
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{}
cfnFileSystemPolicyProps := &CfnFileSystemPolicyProps{
FileSystemId: jsii.String("fileSystemId"),
Policy: policy,
}