# PolicyStatusProperty

- 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_s3objectlambda as s3objectlambda } from 'aws-cdk-lib';
const policyStatusProperty: s3objectlambda.CfnAccessPoint.PolicyStatusProperty = {
  isPublic: false,
};
```

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_s3objectlambda as s3objectlambda

policy_status_property = s3objectlambda.CfnAccessPoint.PolicyStatusProperty(
    is_public=False
)
```

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.s3objectlambda.*;

PolicyStatusProperty policyStatusProperty = PolicyStatusProperty.builder()
        .isPublic(false)
        .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.S3ObjectLambda;

var policyStatusProperty = new PolicyStatusProperty {
    IsPublic = false
};
```

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.Boolean(false),
}
```

## Properties

- `isPublic`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies whether the Object lambda Access Point Policy is Public or not.

  Object lambda Access Points are private by default.
