# PolicyStatusProperty

The container element for a bucket's policy status.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `isPublic`: string (required) — The policy status for this bucket.

  `TRUE` indicates that this bucket is public. `FALSE` indicates that the bucket is not public.
