PolicyStatusProperty Struct
The container element for a bucket's policy status.
| 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_s3 as s3 } from 'aws-cdk-lib';
const policyStatusProperty: s3.CfnMultiRegionAccessPointPolicy.PolicyStatusProperty = {
isPublic: 'isPublic',
};
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_s3 as s3
policy_status_property = s3.CfnMultiRegionAccessPointPolicy.PolicyStatusProperty(
is_public="isPublic"
)
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.s3.*;
PolicyStatusProperty policyStatusProperty = PolicyStatusProperty.builder()
.isPublic("isPublic")
.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.S3;
var policyStatusProperty = new PolicyStatusProperty {
IsPublic = "isPublic"
};
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"
policyStatusProperty := &PolicyStatusProperty{
IsPublic: jsii.String("isPublic"),
}
Properties
The policy status for this bucket.
TRUE indicates that this bucket is public. FALSE indicates that the bucket is not public.