PolicyStatusProperty Struct
| 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_s3objectlambda as s3objectlambda } from 'aws-cdk-lib';
const policyStatusProperty: s3objectlambda.CfnAccessPoint.PolicyStatusProperty = {
isPublic: false,
};
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
// 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();
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
};
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
isPublicoptionalboolean | IResolvableis_publicoptionaltyping.Union[bool, IResolvable]isPublicoptionalBooleanIsPublicoptionalboolIsPublicoptionalinterface{} #Specifies whether the Object lambda Access Point Policy is Public or not.
Object lambda Access Points are private by default.