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();
 
  • Method Details

    • getAmiDescribePolicy

      @Stability(Stable) @Nullable default Object getAmiDescribePolicy()
      CfnFunction.SAMPolicyTemplateProperty.AMIDescribePolicy.
    • getAwsSecretsManagerGetSecretValuePolicy

      @Stability(Stable) @Nullable default Object getAwsSecretsManagerGetSecretValuePolicy()
      CfnFunction.SAMPolicyTemplateProperty.AWSSecretsManagerGetSecretValuePolicy.
    • getCloudFormationDescribeStacksPolicy

      @Stability(Stable) @Nullable default Object getCloudFormationDescribeStacksPolicy()
      CfnFunction.SAMPolicyTemplateProperty.CloudFormationDescribeStacksPolicy.
    • getCloudWatchPutMetricPolicy

      @Stability(Stable) @Nullable default Object getCloudWatchPutMetricPolicy()
      CfnFunction.SAMPolicyTemplateProperty.CloudWatchPutMetricPolicy.
    • getDynamoDbCrudPolicy

      @Stability(Stable) @Nullable default Object getDynamoDbCrudPolicy()
      CfnFunction.SAMPolicyTemplateProperty.DynamoDBCrudPolicy.
    • getDynamoDbReadPolicy

      @Stability(Stable) @Nullable default Object getDynamoDbReadPolicy()
      CfnFunction.SAMPolicyTemplateProperty.DynamoDBReadPolicy.
    • getDynamoDbStreamReadPolicy

      @Stability(Stable) @Nullable default Object getDynamoDbStreamReadPolicy()
      CfnFunction.SAMPolicyTemplateProperty.DynamoDBStreamReadPolicy.
    • getDynamoDbWritePolicy

      @Stability(Stable) @Nullable default Object getDynamoDbWritePolicy()
      CfnFunction.SAMPolicyTemplateProperty.DynamoDBWritePolicy.
    • getEc2DescribePolicy

      @Stability(Stable) @Nullable default Object getEc2DescribePolicy()
      CfnFunction.SAMPolicyTemplateProperty.EC2DescribePolicy.
    • getElasticsearchHttpPostPolicy

      @Stability(Stable) @Nullable default Object getElasticsearchHttpPostPolicy()
      CfnFunction.SAMPolicyTemplateProperty.ElasticsearchHttpPostPolicy.
    • getFilterLogEventsPolicy

      @Stability(Stable) @Nullable default Object getFilterLogEventsPolicy()
      CfnFunction.SAMPolicyTemplateProperty.FilterLogEventsPolicy.
    • getKinesisCrudPolicy

      @Stability(Stable) @Nullable default Object getKinesisCrudPolicy()
      CfnFunction.SAMPolicyTemplateProperty.KinesisCrudPolicy.
    • getKinesisStreamReadPolicy

      @Stability(Stable) @Nullable default Object getKinesisStreamReadPolicy()
      CfnFunction.SAMPolicyTemplateProperty.KinesisStreamReadPolicy.
    • getKmsDecryptPolicy

      @Stability(Stable) @Nullable default Object getKmsDecryptPolicy()
      CfnFunction.SAMPolicyTemplateProperty.KMSDecryptPolicy.
    • getLambdaInvokePolicy

      @Stability(Stable) @Nullable default Object getLambdaInvokePolicy()
      CfnFunction.SAMPolicyTemplateProperty.LambdaInvokePolicy.
    • getRekognitionDetectOnlyPolicy

      @Stability(Stable) @Nullable default Object getRekognitionDetectOnlyPolicy()
      CfnFunction.SAMPolicyTemplateProperty.RekognitionDetectOnlyPolicy.
    • getRekognitionLabelsPolicy

      @Stability(Stable) @Nullable default Object getRekognitionLabelsPolicy()
      CfnFunction.SAMPolicyTemplateProperty.RekognitionLabelsPolicy.
    • getRekognitionNoDataAccessPolicy

      @Stability(Stable) @Nullable default Object getRekognitionNoDataAccessPolicy()
      CfnFunction.SAMPolicyTemplateProperty.RekognitionNoDataAccessPolicy.
    • getRekognitionReadPolicy

      @Stability(Stable) @Nullable default Object getRekognitionReadPolicy()
      CfnFunction.SAMPolicyTemplateProperty.RekognitionReadPolicy.
    • getRekognitionWriteOnlyAccessPolicy

      @Stability(Stable) @Nullable default Object getRekognitionWriteOnlyAccessPolicy()
      CfnFunction.SAMPolicyTemplateProperty.RekognitionWriteOnlyAccessPolicy.
    • getS3CrudPolicy

      @Stability(Stable) @Nullable default Object getS3CrudPolicy()
      CfnFunction.SAMPolicyTemplateProperty.S3CrudPolicy.
    • getS3ReadPolicy

      @Stability(Stable) @Nullable default Object getS3ReadPolicy()
      CfnFunction.SAMPolicyTemplateProperty.S3ReadPolicy.
    • getS3WritePolicy

      @Stability(Stable) @Nullable default Object getS3WritePolicy()
      CfnFunction.SAMPolicyTemplateProperty.S3WritePolicy.
    • getSesBulkTemplatedCrudPolicy

      @Stability(Stable) @Nullable default Object getSesBulkTemplatedCrudPolicy()
      CfnFunction.SAMPolicyTemplateProperty.SESBulkTemplatedCrudPolicy.
    • getSesCrudPolicy

      @Stability(Stable) @Nullable default Object getSesCrudPolicy()
      CfnFunction.SAMPolicyTemplateProperty.SESCrudPolicy.
    • getSesEmailTemplateCrudPolicy

      @Stability(Stable) @Nullable default Object getSesEmailTemplateCrudPolicy()
      CfnFunction.SAMPolicyTemplateProperty.SESEmailTemplateCrudPolicy.
    • getSesSendBouncePolicy

      @Stability(Stable) @Nullable default Object getSesSendBouncePolicy()
      CfnFunction.SAMPolicyTemplateProperty.SESSendBouncePolicy.
    • getSnsCrudPolicy

      @Stability(Stable) @Nullable default Object getSnsCrudPolicy()
      CfnFunction.SAMPolicyTemplateProperty.SNSCrudPolicy.
    • getSnsPublishMessagePolicy

      @Stability(Stable) @Nullable default Object getSnsPublishMessagePolicy()
      CfnFunction.SAMPolicyTemplateProperty.SNSPublishMessagePolicy.
    • getSqsPollerPolicy

      @Stability(Stable) @Nullable default Object getSqsPollerPolicy()
      CfnFunction.SAMPolicyTemplateProperty.SQSPollerPolicy.
    • getSqsSendMessagePolicy

      @Stability(Stable) @Nullable default Object getSqsSendMessagePolicy()
      CfnFunction.SAMPolicyTemplateProperty.SQSSendMessagePolicy.
    • getSsmParameterReadPolicy

      @Stability(Stable) @Nullable default Object getSsmParameterReadPolicy()
      CfnFunction.SAMPolicyTemplateProperty.SSMParameterReadPolicy.
    • getStepFunctionsExecutionPolicy

      @Stability(Stable) @Nullable default Object getStepFunctionsExecutionPolicy()
      CfnFunction.SAMPolicyTemplateProperty.StepFunctionsExecutionPolicy.
    • getVpcAccessPolicy

      @Stability(Stable) @Nullable default Object getVpcAccessPolicy()
      CfnFunction.SAMPolicyTemplateProperty.VPCAccessPolicy.
    • builder

      @Stability(Stable) static CfnFunction.SAMPolicyTemplateProperty.Builder builder()
      Returns:
      a CfnFunction.SAMPolicyTemplateProperty.Builder of CfnFunction.SAMPolicyTemplateProperty