Interface CfnFunction.SAMPolicyTemplateProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunction.SAMPolicyTemplateProperty.Jsii$Proxy
- Enclosing class:
CfnFunction
@Stability(Stable)
public static interface CfnFunction.SAMPolicyTemplateProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sam.*;
SAMPolicyTemplateProperty sAMPolicyTemplateProperty = SAMPolicyTemplateProperty.builder()
.amiDescribePolicy(EmptySAMPTProperty.builder().build())
.awsSecretsManagerGetSecretValuePolicy(SecretArnSAMPTProperty.builder()
.secretArn("secretArn")
.build())
.cloudFormationDescribeStacksPolicy(EmptySAMPTProperty.builder().build())
.cloudWatchPutMetricPolicy(EmptySAMPTProperty.builder().build())
.dynamoDbCrudPolicy(TableSAMPTProperty.builder()
.tableName("tableName")
.build())
.dynamoDbReadPolicy(TableSAMPTProperty.builder()
.tableName("tableName")
.build())
.dynamoDbStreamReadPolicy(TableStreamSAMPTProperty.builder()
.streamName("streamName")
.tableName("tableName")
.build())
.dynamoDbWritePolicy(TableSAMPTProperty.builder()
.tableName("tableName")
.build())
.ec2DescribePolicy(EmptySAMPTProperty.builder().build())
.elasticsearchHttpPostPolicy(DomainSAMPTProperty.builder()
.domainName("domainName")
.build())
.filterLogEventsPolicy(LogGroupSAMPTProperty.builder()
.logGroupName("logGroupName")
.build())
.kinesisCrudPolicy(StreamSAMPTProperty.builder()
.streamName("streamName")
.build())
.kinesisStreamReadPolicy(StreamSAMPTProperty.builder()
.streamName("streamName")
.build())
.kmsDecryptPolicy(KeySAMPTProperty.builder()
.keyId("keyId")
.build())
.lambdaInvokePolicy(FunctionSAMPTProperty.builder()
.functionName("functionName")
.build())
.rekognitionDetectOnlyPolicy(EmptySAMPTProperty.builder().build())
.rekognitionLabelsPolicy(EmptySAMPTProperty.builder().build())
.rekognitionNoDataAccessPolicy(CollectionSAMPTProperty.builder()
.collectionId("collectionId")
.build())
.rekognitionReadPolicy(CollectionSAMPTProperty.builder()
.collectionId("collectionId")
.build())
.rekognitionWriteOnlyAccessPolicy(CollectionSAMPTProperty.builder()
.collectionId("collectionId")
.build())
.s3CrudPolicy(BucketSAMPTProperty.builder()
.bucketName("bucketName")
.build())
.s3ReadPolicy(BucketSAMPTProperty.builder()
.bucketName("bucketName")
.build())
.s3WritePolicy(BucketSAMPTProperty.builder()
.bucketName("bucketName")
.build())
.sesBulkTemplatedCrudPolicy(IdentitySAMPTProperty.builder()
.identityName("identityName")
.build())
.sesCrudPolicy(IdentitySAMPTProperty.builder()
.identityName("identityName")
.build())
.sesEmailTemplateCrudPolicy(EmptySAMPTProperty.builder().build())
.sesSendBouncePolicy(IdentitySAMPTProperty.builder()
.identityName("identityName")
.build())
.snsCrudPolicy(TopicSAMPTProperty.builder()
.topicName("topicName")
.build())
.snsPublishMessagePolicy(TopicSAMPTProperty.builder()
.topicName("topicName")
.build())
.sqsPollerPolicy(QueueSAMPTProperty.builder()
.queueName("queueName")
.build())
.sqsSendMessagePolicy(QueueSAMPTProperty.builder()
.queueName("queueName")
.build())
.ssmParameterReadPolicy(ParameterNameSAMPTProperty.builder()
.parameterName("parameterName")
.build())
.stepFunctionsExecutionPolicy(StateMachineSAMPTProperty.builder()
.stateMachineName("stateMachineName")
.build())
.vpcAccessPolicy(EmptySAMPTProperty.builder().build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFunction.SAMPolicyTemplatePropertystatic final classAn implementation forCfnFunction.SAMPolicyTemplateProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnFunction.EmptySAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.SecretArnSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.EmptySAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.EmptySAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.TableSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.TableSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.TableStreamSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.TableSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.EmptySAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.DomainSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.LogGroupSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.StreamSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.StreamSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.KeySAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.FunctionSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.EmptySAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.EmptySAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.CollectionSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.CollectionSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.CollectionSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.BucketSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.BucketSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.BucketSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.IdentitySAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.IdentitySAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.EmptySAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.IdentitySAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.TopicSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.TopicSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.QueueSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.QueueSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.ParameterNameSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.StateMachineSAMPTPropertydefault ObjectReturns union: eitherIResolvableorCfnFunction.EmptySAMPTPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAmiDescribePolicy
Returns union: eitherIResolvableorCfnFunction.EmptySAMPTProperty- See Also:
-
getAwsSecretsManagerGetSecretValuePolicy
Returns union: eitherIResolvableorCfnFunction.SecretArnSAMPTProperty- See Also:
-
getCloudFormationDescribeStacksPolicy
Returns union: eitherIResolvableorCfnFunction.EmptySAMPTProperty- See Also:
-
getCloudWatchPutMetricPolicy
Returns union: eitherIResolvableorCfnFunction.EmptySAMPTProperty- See Also:
-
getDynamoDbCrudPolicy
Returns union: eitherIResolvableorCfnFunction.TableSAMPTProperty- See Also:
-
getDynamoDbReadPolicy
Returns union: eitherIResolvableorCfnFunction.TableSAMPTProperty- See Also:
-
getDynamoDbStreamReadPolicy
Returns union: eitherIResolvableorCfnFunction.TableStreamSAMPTProperty- See Also:
-
getDynamoDbWritePolicy
Returns union: eitherIResolvableorCfnFunction.TableSAMPTProperty- See Also:
-
getEc2DescribePolicy
Returns union: eitherIResolvableorCfnFunction.EmptySAMPTProperty- See Also:
-
getElasticsearchHttpPostPolicy
Returns union: eitherIResolvableorCfnFunction.DomainSAMPTProperty- See Also:
-
getFilterLogEventsPolicy
Returns union: eitherIResolvableorCfnFunction.LogGroupSAMPTProperty- See Also:
-
getKinesisCrudPolicy
Returns union: eitherIResolvableorCfnFunction.StreamSAMPTProperty- See Also:
-
getKinesisStreamReadPolicy
Returns union: eitherIResolvableorCfnFunction.StreamSAMPTProperty- See Also:
-
getKmsDecryptPolicy
Returns union: eitherIResolvableorCfnFunction.KeySAMPTProperty- See Also:
-
getLambdaInvokePolicy
Returns union: eitherIResolvableorCfnFunction.FunctionSAMPTProperty- See Also:
-
getRekognitionDetectOnlyPolicy
Returns union: eitherIResolvableorCfnFunction.EmptySAMPTProperty- See Also:
-
getRekognitionLabelsPolicy
Returns union: eitherIResolvableorCfnFunction.EmptySAMPTProperty- See Also:
-
getRekognitionNoDataAccessPolicy
Returns union: eitherIResolvableorCfnFunction.CollectionSAMPTProperty- See Also:
-
getRekognitionReadPolicy
Returns union: eitherIResolvableorCfnFunction.CollectionSAMPTProperty- See Also:
-
getRekognitionWriteOnlyAccessPolicy
Returns union: eitherIResolvableorCfnFunction.CollectionSAMPTProperty- See Also:
-
getS3CrudPolicy
Returns union: eitherIResolvableorCfnFunction.BucketSAMPTProperty- See Also:
-
getS3ReadPolicy
Returns union: eitherIResolvableorCfnFunction.BucketSAMPTProperty- See Also:
-
getS3WritePolicy
Returns union: eitherIResolvableorCfnFunction.BucketSAMPTProperty- See Also:
-
getSesBulkTemplatedCrudPolicy
Returns union: eitherIResolvableorCfnFunction.IdentitySAMPTProperty- See Also:
-
getSesCrudPolicy
Returns union: eitherIResolvableorCfnFunction.IdentitySAMPTProperty- See Also:
-
getSesEmailTemplateCrudPolicy
Returns union: eitherIResolvableorCfnFunction.EmptySAMPTProperty- See Also:
-
getSesSendBouncePolicy
Returns union: eitherIResolvableorCfnFunction.IdentitySAMPTProperty- See Also:
-
getSnsCrudPolicy
Returns union: eitherIResolvableorCfnFunction.TopicSAMPTProperty- See Also:
-
getSnsPublishMessagePolicy
Returns union: eitherIResolvableorCfnFunction.TopicSAMPTProperty- See Also:
-
getSqsPollerPolicy
Returns union: eitherIResolvableorCfnFunction.QueueSAMPTProperty- See Also:
-
getSqsSendMessagePolicy
Returns union: eitherIResolvableorCfnFunction.QueueSAMPTProperty- See Also:
-
getSsmParameterReadPolicy
Returns union: eitherIResolvableorCfnFunction.ParameterNameSAMPTProperty- See Also:
-
getStepFunctionsExecutionPolicy
Returns union: eitherIResolvableorCfnFunction.StateMachineSAMPTProperty- See Also:
-
getVpcAccessPolicy
Returns union: eitherIResolvableorCfnFunction.EmptySAMPTProperty- See Also:
-
builder
-