Class CfnFunction.SAMPolicyTemplateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnFunction.SAMPolicyTemplateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.SAMPolicyTemplateProperty>
- Enclosing interface:
CfnFunction.SAMPolicyTemplateProperty
@Stability(Stable)
public static final class CfnFunction.SAMPolicyTemplateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.SAMPolicyTemplateProperty>
A builder for
CfnFunction.SAMPolicyTemplateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamiDescribePolicy(IResolvable amiDescribePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getAmiDescribePolicy()amiDescribePolicy(CfnFunction.EmptySAMPTProperty amiDescribePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getAmiDescribePolicy()awsSecretsManagerGetSecretValuePolicy(IResolvable awsSecretsManagerGetSecretValuePolicy) awsSecretsManagerGetSecretValuePolicy(CfnFunction.SecretArnSAMPTProperty awsSecretsManagerGetSecretValuePolicy) build()Builds the configured instance.cloudFormationDescribeStacksPolicy(IResolvable cloudFormationDescribeStacksPolicy) cloudFormationDescribeStacksPolicy(CfnFunction.EmptySAMPTProperty cloudFormationDescribeStacksPolicy) cloudWatchPutMetricPolicy(IResolvable cloudWatchPutMetricPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getCloudWatchPutMetricPolicy()cloudWatchPutMetricPolicy(CfnFunction.EmptySAMPTProperty cloudWatchPutMetricPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getCloudWatchPutMetricPolicy()dynamoDbCrudPolicy(IResolvable dynamoDbCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getDynamoDbCrudPolicy()dynamoDbCrudPolicy(CfnFunction.TableSAMPTProperty dynamoDbCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getDynamoDbCrudPolicy()dynamoDbReadPolicy(IResolvable dynamoDbReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getDynamoDbReadPolicy()dynamoDbReadPolicy(CfnFunction.TableSAMPTProperty dynamoDbReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getDynamoDbReadPolicy()dynamoDbStreamReadPolicy(IResolvable dynamoDbStreamReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getDynamoDbStreamReadPolicy()dynamoDbStreamReadPolicy(CfnFunction.TableStreamSAMPTProperty dynamoDbStreamReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getDynamoDbStreamReadPolicy()dynamoDbWritePolicy(IResolvable dynamoDbWritePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getDynamoDbWritePolicy()dynamoDbWritePolicy(CfnFunction.TableSAMPTProperty dynamoDbWritePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getDynamoDbWritePolicy()ec2DescribePolicy(IResolvable ec2DescribePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getEc2DescribePolicy()ec2DescribePolicy(CfnFunction.EmptySAMPTProperty ec2DescribePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getEc2DescribePolicy()elasticsearchHttpPostPolicy(IResolvable elasticsearchHttpPostPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getElasticsearchHttpPostPolicy()elasticsearchHttpPostPolicy(CfnFunction.DomainSAMPTProperty elasticsearchHttpPostPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getElasticsearchHttpPostPolicy()filterLogEventsPolicy(IResolvable filterLogEventsPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getFilterLogEventsPolicy()filterLogEventsPolicy(CfnFunction.LogGroupSAMPTProperty filterLogEventsPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getFilterLogEventsPolicy()kinesisCrudPolicy(IResolvable kinesisCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getKinesisCrudPolicy()kinesisCrudPolicy(CfnFunction.StreamSAMPTProperty kinesisCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getKinesisCrudPolicy()kinesisStreamReadPolicy(IResolvable kinesisStreamReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getKinesisStreamReadPolicy()kinesisStreamReadPolicy(CfnFunction.StreamSAMPTProperty kinesisStreamReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getKinesisStreamReadPolicy()kmsDecryptPolicy(IResolvable kmsDecryptPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getKmsDecryptPolicy()kmsDecryptPolicy(CfnFunction.KeySAMPTProperty kmsDecryptPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getKmsDecryptPolicy()lambdaInvokePolicy(IResolvable lambdaInvokePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getLambdaInvokePolicy()lambdaInvokePolicy(CfnFunction.FunctionSAMPTProperty lambdaInvokePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getLambdaInvokePolicy()rekognitionDetectOnlyPolicy(IResolvable rekognitionDetectOnlyPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getRekognitionDetectOnlyPolicy()rekognitionDetectOnlyPolicy(CfnFunction.EmptySAMPTProperty rekognitionDetectOnlyPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getRekognitionDetectOnlyPolicy()rekognitionLabelsPolicy(IResolvable rekognitionLabelsPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getRekognitionLabelsPolicy()rekognitionLabelsPolicy(CfnFunction.EmptySAMPTProperty rekognitionLabelsPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getRekognitionLabelsPolicy()rekognitionNoDataAccessPolicy(IResolvable rekognitionNoDataAccessPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getRekognitionNoDataAccessPolicy()rekognitionNoDataAccessPolicy(CfnFunction.CollectionSAMPTProperty rekognitionNoDataAccessPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getRekognitionNoDataAccessPolicy()rekognitionReadPolicy(IResolvable rekognitionReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getRekognitionReadPolicy()rekognitionReadPolicy(CfnFunction.CollectionSAMPTProperty rekognitionReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getRekognitionReadPolicy()rekognitionWriteOnlyAccessPolicy(IResolvable rekognitionWriteOnlyAccessPolicy) rekognitionWriteOnlyAccessPolicy(CfnFunction.CollectionSAMPTProperty rekognitionWriteOnlyAccessPolicy) s3CrudPolicy(IResolvable s3CrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getS3CrudPolicy()s3CrudPolicy(CfnFunction.BucketSAMPTProperty s3CrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getS3CrudPolicy()s3ReadPolicy(IResolvable s3ReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getS3ReadPolicy()s3ReadPolicy(CfnFunction.BucketSAMPTProperty s3ReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getS3ReadPolicy()s3WritePolicy(IResolvable s3WritePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getS3WritePolicy()s3WritePolicy(CfnFunction.BucketSAMPTProperty s3WritePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getS3WritePolicy()sesBulkTemplatedCrudPolicy(IResolvable sesBulkTemplatedCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSesBulkTemplatedCrudPolicy()sesBulkTemplatedCrudPolicy(CfnFunction.IdentitySAMPTProperty sesBulkTemplatedCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSesBulkTemplatedCrudPolicy()sesCrudPolicy(IResolvable sesCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSesCrudPolicy()sesCrudPolicy(CfnFunction.IdentitySAMPTProperty sesCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSesCrudPolicy()sesEmailTemplateCrudPolicy(IResolvable sesEmailTemplateCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSesEmailTemplateCrudPolicy()sesEmailTemplateCrudPolicy(CfnFunction.EmptySAMPTProperty sesEmailTemplateCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSesEmailTemplateCrudPolicy()sesSendBouncePolicy(IResolvable sesSendBouncePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSesSendBouncePolicy()sesSendBouncePolicy(CfnFunction.IdentitySAMPTProperty sesSendBouncePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSesSendBouncePolicy()snsCrudPolicy(IResolvable snsCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSnsCrudPolicy()snsCrudPolicy(CfnFunction.TopicSAMPTProperty snsCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSnsCrudPolicy()snsPublishMessagePolicy(IResolvable snsPublishMessagePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSnsPublishMessagePolicy()snsPublishMessagePolicy(CfnFunction.TopicSAMPTProperty snsPublishMessagePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSnsPublishMessagePolicy()sqsPollerPolicy(IResolvable sqsPollerPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSqsPollerPolicy()sqsPollerPolicy(CfnFunction.QueueSAMPTProperty sqsPollerPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSqsPollerPolicy()sqsSendMessagePolicy(IResolvable sqsSendMessagePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSqsSendMessagePolicy()sqsSendMessagePolicy(CfnFunction.QueueSAMPTProperty sqsSendMessagePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSqsSendMessagePolicy()ssmParameterReadPolicy(IResolvable ssmParameterReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSsmParameterReadPolicy()ssmParameterReadPolicy(CfnFunction.ParameterNameSAMPTProperty ssmParameterReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSsmParameterReadPolicy()stepFunctionsExecutionPolicy(IResolvable stepFunctionsExecutionPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getStepFunctionsExecutionPolicy()stepFunctionsExecutionPolicy(CfnFunction.StateMachineSAMPTProperty stepFunctionsExecutionPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getStepFunctionsExecutionPolicy()vpcAccessPolicy(IResolvable vpcAccessPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getVpcAccessPolicy()vpcAccessPolicy(CfnFunction.EmptySAMPTProperty vpcAccessPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getVpcAccessPolicy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
amiDescribePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder amiDescribePolicy(IResolvable amiDescribePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getAmiDescribePolicy()- Parameters:
amiDescribePolicy- the value to be set.- Returns:
this
-
amiDescribePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder amiDescribePolicy(CfnFunction.EmptySAMPTProperty amiDescribePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getAmiDescribePolicy()- Parameters:
amiDescribePolicy- the value to be set.- Returns:
this
-
awsSecretsManagerGetSecretValuePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder awsSecretsManagerGetSecretValuePolicy(IResolvable awsSecretsManagerGetSecretValuePolicy) - Parameters:
awsSecretsManagerGetSecretValuePolicy- the value to be set.- Returns:
this
-
awsSecretsManagerGetSecretValuePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder awsSecretsManagerGetSecretValuePolicy(CfnFunction.SecretArnSAMPTProperty awsSecretsManagerGetSecretValuePolicy) - Parameters:
awsSecretsManagerGetSecretValuePolicy- the value to be set.- Returns:
this
-
cloudFormationDescribeStacksPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder cloudFormationDescribeStacksPolicy(IResolvable cloudFormationDescribeStacksPolicy) - Parameters:
cloudFormationDescribeStacksPolicy- the value to be set.- Returns:
this
-
cloudFormationDescribeStacksPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder cloudFormationDescribeStacksPolicy(CfnFunction.EmptySAMPTProperty cloudFormationDescribeStacksPolicy) - Parameters:
cloudFormationDescribeStacksPolicy- the value to be set.- Returns:
this
-
cloudWatchPutMetricPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder cloudWatchPutMetricPolicy(IResolvable cloudWatchPutMetricPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getCloudWatchPutMetricPolicy()- Parameters:
cloudWatchPutMetricPolicy- the value to be set.- Returns:
this
-
cloudWatchPutMetricPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder cloudWatchPutMetricPolicy(CfnFunction.EmptySAMPTProperty cloudWatchPutMetricPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getCloudWatchPutMetricPolicy()- Parameters:
cloudWatchPutMetricPolicy- the value to be set.- Returns:
this
-
dynamoDbCrudPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder dynamoDbCrudPolicy(IResolvable dynamoDbCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getDynamoDbCrudPolicy()- Parameters:
dynamoDbCrudPolicy- the value to be set.- Returns:
this
-
dynamoDbCrudPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder dynamoDbCrudPolicy(CfnFunction.TableSAMPTProperty dynamoDbCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getDynamoDbCrudPolicy()- Parameters:
dynamoDbCrudPolicy- the value to be set.- Returns:
this
-
dynamoDbReadPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder dynamoDbReadPolicy(IResolvable dynamoDbReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getDynamoDbReadPolicy()- Parameters:
dynamoDbReadPolicy- the value to be set.- Returns:
this
-
dynamoDbReadPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder dynamoDbReadPolicy(CfnFunction.TableSAMPTProperty dynamoDbReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getDynamoDbReadPolicy()- Parameters:
dynamoDbReadPolicy- the value to be set.- Returns:
this
-
dynamoDbStreamReadPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder dynamoDbStreamReadPolicy(IResolvable dynamoDbStreamReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getDynamoDbStreamReadPolicy()- Parameters:
dynamoDbStreamReadPolicy- the value to be set.- Returns:
this
-
dynamoDbStreamReadPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder dynamoDbStreamReadPolicy(CfnFunction.TableStreamSAMPTProperty dynamoDbStreamReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getDynamoDbStreamReadPolicy()- Parameters:
dynamoDbStreamReadPolicy- the value to be set.- Returns:
this
-
dynamoDbWritePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder dynamoDbWritePolicy(IResolvable dynamoDbWritePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getDynamoDbWritePolicy()- Parameters:
dynamoDbWritePolicy- the value to be set.- Returns:
this
-
dynamoDbWritePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder dynamoDbWritePolicy(CfnFunction.TableSAMPTProperty dynamoDbWritePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getDynamoDbWritePolicy()- Parameters:
dynamoDbWritePolicy- the value to be set.- Returns:
this
-
ec2DescribePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder ec2DescribePolicy(IResolvable ec2DescribePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getEc2DescribePolicy()- Parameters:
ec2DescribePolicy- the value to be set.- Returns:
this
-
ec2DescribePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder ec2DescribePolicy(CfnFunction.EmptySAMPTProperty ec2DescribePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getEc2DescribePolicy()- Parameters:
ec2DescribePolicy- the value to be set.- Returns:
this
-
elasticsearchHttpPostPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder elasticsearchHttpPostPolicy(IResolvable elasticsearchHttpPostPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getElasticsearchHttpPostPolicy()- Parameters:
elasticsearchHttpPostPolicy- the value to be set.- Returns:
this
-
elasticsearchHttpPostPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder elasticsearchHttpPostPolicy(CfnFunction.DomainSAMPTProperty elasticsearchHttpPostPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getElasticsearchHttpPostPolicy()- Parameters:
elasticsearchHttpPostPolicy- the value to be set.- Returns:
this
-
filterLogEventsPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder filterLogEventsPolicy(IResolvable filterLogEventsPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getFilterLogEventsPolicy()- Parameters:
filterLogEventsPolicy- the value to be set.- Returns:
this
-
filterLogEventsPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder filterLogEventsPolicy(CfnFunction.LogGroupSAMPTProperty filterLogEventsPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getFilterLogEventsPolicy()- Parameters:
filterLogEventsPolicy- the value to be set.- Returns:
this
-
kinesisCrudPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder kinesisCrudPolicy(IResolvable kinesisCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getKinesisCrudPolicy()- Parameters:
kinesisCrudPolicy- the value to be set.- Returns:
this
-
kinesisCrudPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder kinesisCrudPolicy(CfnFunction.StreamSAMPTProperty kinesisCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getKinesisCrudPolicy()- Parameters:
kinesisCrudPolicy- the value to be set.- Returns:
this
-
kinesisStreamReadPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder kinesisStreamReadPolicy(IResolvable kinesisStreamReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getKinesisStreamReadPolicy()- Parameters:
kinesisStreamReadPolicy- the value to be set.- Returns:
this
-
kinesisStreamReadPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder kinesisStreamReadPolicy(CfnFunction.StreamSAMPTProperty kinesisStreamReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getKinesisStreamReadPolicy()- Parameters:
kinesisStreamReadPolicy- the value to be set.- Returns:
this
-
kmsDecryptPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder kmsDecryptPolicy(IResolvable kmsDecryptPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getKmsDecryptPolicy()- Parameters:
kmsDecryptPolicy- the value to be set.- Returns:
this
-
kmsDecryptPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder kmsDecryptPolicy(CfnFunction.KeySAMPTProperty kmsDecryptPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getKmsDecryptPolicy()- Parameters:
kmsDecryptPolicy- the value to be set.- Returns:
this
-
lambdaInvokePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder lambdaInvokePolicy(IResolvable lambdaInvokePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getLambdaInvokePolicy()- Parameters:
lambdaInvokePolicy- the value to be set.- Returns:
this
-
lambdaInvokePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder lambdaInvokePolicy(CfnFunction.FunctionSAMPTProperty lambdaInvokePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getLambdaInvokePolicy()- Parameters:
lambdaInvokePolicy- the value to be set.- Returns:
this
-
rekognitionDetectOnlyPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder rekognitionDetectOnlyPolicy(IResolvable rekognitionDetectOnlyPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getRekognitionDetectOnlyPolicy()- Parameters:
rekognitionDetectOnlyPolicy- the value to be set.- Returns:
this
-
rekognitionDetectOnlyPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder rekognitionDetectOnlyPolicy(CfnFunction.EmptySAMPTProperty rekognitionDetectOnlyPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getRekognitionDetectOnlyPolicy()- Parameters:
rekognitionDetectOnlyPolicy- the value to be set.- Returns:
this
-
rekognitionLabelsPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder rekognitionLabelsPolicy(IResolvable rekognitionLabelsPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getRekognitionLabelsPolicy()- Parameters:
rekognitionLabelsPolicy- the value to be set.- Returns:
this
-
rekognitionLabelsPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder rekognitionLabelsPolicy(CfnFunction.EmptySAMPTProperty rekognitionLabelsPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getRekognitionLabelsPolicy()- Parameters:
rekognitionLabelsPolicy- the value to be set.- Returns:
this
-
rekognitionNoDataAccessPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder rekognitionNoDataAccessPolicy(IResolvable rekognitionNoDataAccessPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getRekognitionNoDataAccessPolicy()- Parameters:
rekognitionNoDataAccessPolicy- the value to be set.- Returns:
this
-
rekognitionNoDataAccessPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder rekognitionNoDataAccessPolicy(CfnFunction.CollectionSAMPTProperty rekognitionNoDataAccessPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getRekognitionNoDataAccessPolicy()- Parameters:
rekognitionNoDataAccessPolicy- the value to be set.- Returns:
this
-
rekognitionReadPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder rekognitionReadPolicy(IResolvable rekognitionReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getRekognitionReadPolicy()- Parameters:
rekognitionReadPolicy- the value to be set.- Returns:
this
-
rekognitionReadPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder rekognitionReadPolicy(CfnFunction.CollectionSAMPTProperty rekognitionReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getRekognitionReadPolicy()- Parameters:
rekognitionReadPolicy- the value to be set.- Returns:
this
-
rekognitionWriteOnlyAccessPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder rekognitionWriteOnlyAccessPolicy(IResolvable rekognitionWriteOnlyAccessPolicy) - Parameters:
rekognitionWriteOnlyAccessPolicy- the value to be set.- Returns:
this
-
rekognitionWriteOnlyAccessPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder rekognitionWriteOnlyAccessPolicy(CfnFunction.CollectionSAMPTProperty rekognitionWriteOnlyAccessPolicy) - Parameters:
rekognitionWriteOnlyAccessPolicy- the value to be set.- Returns:
this
-
s3CrudPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder s3CrudPolicy(IResolvable s3CrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getS3CrudPolicy()- Parameters:
s3CrudPolicy- the value to be set.- Returns:
this
-
s3CrudPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder s3CrudPolicy(CfnFunction.BucketSAMPTProperty s3CrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getS3CrudPolicy()- Parameters:
s3CrudPolicy- the value to be set.- Returns:
this
-
s3ReadPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder s3ReadPolicy(IResolvable s3ReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getS3ReadPolicy()- Parameters:
s3ReadPolicy- the value to be set.- Returns:
this
-
s3ReadPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder s3ReadPolicy(CfnFunction.BucketSAMPTProperty s3ReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getS3ReadPolicy()- Parameters:
s3ReadPolicy- the value to be set.- Returns:
this
-
s3WritePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder s3WritePolicy(IResolvable s3WritePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getS3WritePolicy()- Parameters:
s3WritePolicy- the value to be set.- Returns:
this
-
s3WritePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder s3WritePolicy(CfnFunction.BucketSAMPTProperty s3WritePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getS3WritePolicy()- Parameters:
s3WritePolicy- the value to be set.- Returns:
this
-
sesBulkTemplatedCrudPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder sesBulkTemplatedCrudPolicy(IResolvable sesBulkTemplatedCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSesBulkTemplatedCrudPolicy()- Parameters:
sesBulkTemplatedCrudPolicy- the value to be set.- Returns:
this
-
sesBulkTemplatedCrudPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder sesBulkTemplatedCrudPolicy(CfnFunction.IdentitySAMPTProperty sesBulkTemplatedCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSesBulkTemplatedCrudPolicy()- Parameters:
sesBulkTemplatedCrudPolicy- the value to be set.- Returns:
this
-
sesCrudPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder sesCrudPolicy(IResolvable sesCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSesCrudPolicy()- Parameters:
sesCrudPolicy- the value to be set.- Returns:
this
-
sesCrudPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder sesCrudPolicy(CfnFunction.IdentitySAMPTProperty sesCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSesCrudPolicy()- Parameters:
sesCrudPolicy- the value to be set.- Returns:
this
-
sesEmailTemplateCrudPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder sesEmailTemplateCrudPolicy(IResolvable sesEmailTemplateCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSesEmailTemplateCrudPolicy()- Parameters:
sesEmailTemplateCrudPolicy- the value to be set.- Returns:
this
-
sesEmailTemplateCrudPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder sesEmailTemplateCrudPolicy(CfnFunction.EmptySAMPTProperty sesEmailTemplateCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSesEmailTemplateCrudPolicy()- Parameters:
sesEmailTemplateCrudPolicy- the value to be set.- Returns:
this
-
sesSendBouncePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder sesSendBouncePolicy(IResolvable sesSendBouncePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSesSendBouncePolicy()- Parameters:
sesSendBouncePolicy- the value to be set.- Returns:
this
-
sesSendBouncePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder sesSendBouncePolicy(CfnFunction.IdentitySAMPTProperty sesSendBouncePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSesSendBouncePolicy()- Parameters:
sesSendBouncePolicy- the value to be set.- Returns:
this
-
snsCrudPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder snsCrudPolicy(IResolvable snsCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSnsCrudPolicy()- Parameters:
snsCrudPolicy- the value to be set.- Returns:
this
-
snsCrudPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder snsCrudPolicy(CfnFunction.TopicSAMPTProperty snsCrudPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSnsCrudPolicy()- Parameters:
snsCrudPolicy- the value to be set.- Returns:
this
-
snsPublishMessagePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder snsPublishMessagePolicy(IResolvable snsPublishMessagePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSnsPublishMessagePolicy()- Parameters:
snsPublishMessagePolicy- the value to be set.- Returns:
this
-
snsPublishMessagePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder snsPublishMessagePolicy(CfnFunction.TopicSAMPTProperty snsPublishMessagePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSnsPublishMessagePolicy()- Parameters:
snsPublishMessagePolicy- the value to be set.- Returns:
this
-
sqsPollerPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder sqsPollerPolicy(IResolvable sqsPollerPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSqsPollerPolicy()- Parameters:
sqsPollerPolicy- the value to be set.- Returns:
this
-
sqsPollerPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder sqsPollerPolicy(CfnFunction.QueueSAMPTProperty sqsPollerPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSqsPollerPolicy()- Parameters:
sqsPollerPolicy- the value to be set.- Returns:
this
-
sqsSendMessagePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder sqsSendMessagePolicy(IResolvable sqsSendMessagePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSqsSendMessagePolicy()- Parameters:
sqsSendMessagePolicy- the value to be set.- Returns:
this
-
sqsSendMessagePolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder sqsSendMessagePolicy(CfnFunction.QueueSAMPTProperty sqsSendMessagePolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSqsSendMessagePolicy()- Parameters:
sqsSendMessagePolicy- the value to be set.- Returns:
this
-
ssmParameterReadPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder ssmParameterReadPolicy(IResolvable ssmParameterReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSsmParameterReadPolicy()- Parameters:
ssmParameterReadPolicy- the value to be set.- Returns:
this
-
ssmParameterReadPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder ssmParameterReadPolicy(CfnFunction.ParameterNameSAMPTProperty ssmParameterReadPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getSsmParameterReadPolicy()- Parameters:
ssmParameterReadPolicy- the value to be set.- Returns:
this
-
stepFunctionsExecutionPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder stepFunctionsExecutionPolicy(IResolvable stepFunctionsExecutionPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getStepFunctionsExecutionPolicy()- Parameters:
stepFunctionsExecutionPolicy- the value to be set.- Returns:
this
-
stepFunctionsExecutionPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder stepFunctionsExecutionPolicy(CfnFunction.StateMachineSAMPTProperty stepFunctionsExecutionPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getStepFunctionsExecutionPolicy()- Parameters:
stepFunctionsExecutionPolicy- the value to be set.- Returns:
this
-
vpcAccessPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder vpcAccessPolicy(IResolvable vpcAccessPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getVpcAccessPolicy()- Parameters:
vpcAccessPolicy- the value to be set.- Returns:
this
-
vpcAccessPolicy
@Stability(Stable) public CfnFunction.SAMPolicyTemplateProperty.Builder vpcAccessPolicy(CfnFunction.EmptySAMPTProperty vpcAccessPolicy) Sets the value ofCfnFunction.SAMPolicyTemplateProperty.getVpcAccessPolicy()- Parameters:
vpcAccessPolicy- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunction.SAMPolicyTemplateProperty>- Returns:
- a new instance of
CfnFunction.SAMPolicyTemplateProperty - Throws:
NullPointerException- if any required attribute was not provided
-