Class CfnFunction.SAMPolicyTemplateProperty
Inheritance
Implements
Namespace: Amazon.CDK.AWS.SAM
Assembly: Amazon.CDK.AWS.SAM.dll
Syntax (csharp)
public class SAMPolicyTemplateProperty : Object, CfnFunction.ISAMPolicyTemplateProperty
Syntax (vb)
Public Class SAMPolicyTemplateProperty
Inherits Object
Implements CfnFunction.ISAMPolicyTemplateProperty
Remarks
Link: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SAM;
var sAMPolicyTemplateProperty = new SAMPolicyTemplateProperty {
AmiDescribePolicy = new EmptySAMPTProperty { },
AwsSecretsManagerGetSecretValuePolicy = new SecretArnSAMPTProperty {
SecretArn = "secretArn"
},
CloudFormationDescribeStacksPolicy = new EmptySAMPTProperty { },
CloudWatchPutMetricPolicy = new EmptySAMPTProperty { },
DynamoDbCrudPolicy = new TableSAMPTProperty {
TableName = "tableName"
},
DynamoDbReadPolicy = new TableSAMPTProperty {
TableName = "tableName"
},
DynamoDbStreamReadPolicy = new TableStreamSAMPTProperty {
StreamName = "streamName",
TableName = "tableName"
},
DynamoDbWritePolicy = new TableSAMPTProperty {
TableName = "tableName"
},
Ec2DescribePolicy = new EmptySAMPTProperty { },
ElasticsearchHttpPostPolicy = new DomainSAMPTProperty {
DomainName = "domainName"
},
FilterLogEventsPolicy = new LogGroupSAMPTProperty {
LogGroupName = "logGroupName"
},
KinesisCrudPolicy = new StreamSAMPTProperty {
StreamName = "streamName"
},
KinesisStreamReadPolicy = new StreamSAMPTProperty {
StreamName = "streamName"
},
KmsDecryptPolicy = new KeySAMPTProperty {
KeyId = "keyId"
},
LambdaInvokePolicy = new FunctionSAMPTProperty {
FunctionName = "functionName"
},
RekognitionDetectOnlyPolicy = new EmptySAMPTProperty { },
RekognitionLabelsPolicy = new EmptySAMPTProperty { },
RekognitionNoDataAccessPolicy = new CollectionSAMPTProperty {
CollectionId = "collectionId"
},
RekognitionReadPolicy = new CollectionSAMPTProperty {
CollectionId = "collectionId"
},
RekognitionWriteOnlyAccessPolicy = new CollectionSAMPTProperty {
CollectionId = "collectionId"
},
S3CrudPolicy = new BucketSAMPTProperty {
BucketName = "bucketName"
},
S3ReadPolicy = new BucketSAMPTProperty {
BucketName = "bucketName"
},
S3WritePolicy = new BucketSAMPTProperty {
BucketName = "bucketName"
},
SesBulkTemplatedCrudPolicy = new IdentitySAMPTProperty {
IdentityName = "identityName"
},
SesCrudPolicy = new IdentitySAMPTProperty {
IdentityName = "identityName"
},
SesEmailTemplateCrudPolicy = new EmptySAMPTProperty { },
SesSendBouncePolicy = new IdentitySAMPTProperty {
IdentityName = "identityName"
},
SnsCrudPolicy = new TopicSAMPTProperty {
TopicName = "topicName"
},
SnsPublishMessagePolicy = new TopicSAMPTProperty {
TopicName = "topicName"
},
SqsPollerPolicy = new QueueSAMPTProperty {
QueueName = "queueName"
},
SqsSendMessagePolicy = new QueueSAMPTProperty {
QueueName = "queueName"
},
SsmParameterReadPolicy = new ParameterNameSAMPTProperty {
ParameterName = "parameterName"
},
StepFunctionsExecutionPolicy = new StateMachineSAMPTProperty {
StateMachineName = "stateMachineName"
},
VpcAccessPolicy = new EmptySAMPTProperty { }
};
Synopsis
Constructors
SAMPolicyTemplateProperty() |
Properties
AmiDescribePolicy |
|
AwsSecretsManagerGetSecretValuePolicy |
|
CloudFormationDescribeStacksPolicy |
|
CloudWatchPutMetricPolicy |
|
DynamoDbCrudPolicy |
|
DynamoDbReadPolicy |
|
DynamoDbStreamReadPolicy |
|
DynamoDbWritePolicy |
|
Ec2DescribePolicy |
|
ElasticsearchHttpPostPolicy |
|
FilterLogEventsPolicy |
|
KinesisCrudPolicy |
|
KinesisStreamReadPolicy |
|
KmsDecryptPolicy |
|
LambdaInvokePolicy |
|
RekognitionDetectOnlyPolicy |
|
RekognitionLabelsPolicy |
|
RekognitionNoDataAccessPolicy |
|
RekognitionReadPolicy |
|
RekognitionWriteOnlyAccessPolicy |
|
S3CrudPolicy |
|
S3ReadPolicy |
|
S3WritePolicy |
|
SesBulkTemplatedCrudPolicy |
|
SesCrudPolicy |
|
SesEmailTemplateCrudPolicy |
|
SesSendBouncePolicy |
|
SnsCrudPolicy |
|
SnsPublishMessagePolicy |
|
SqsPollerPolicy |
|
SqsSendMessagePolicy |
|
SsmParameterReadPolicy |
|
StepFunctionsExecutionPolicy |
|
VpcAccessPolicy |
|
Constructors
SAMPolicyTemplateProperty()
public SAMPolicyTemplateProperty()
Properties
AmiDescribePolicy
CfnFunction.SAMPolicyTemplateProperty.AMIDescribePolicy
.
public object AmiDescribePolicy { get; set; }
Property Value
System.Object
Remarks
AwsSecretsManagerGetSecretValuePolicy
CfnFunction.SAMPolicyTemplateProperty.AWSSecretsManagerGetSecretValuePolicy
.
public object AwsSecretsManagerGetSecretValuePolicy { get; set; }
Property Value
System.Object
Remarks
CloudFormationDescribeStacksPolicy
CfnFunction.SAMPolicyTemplateProperty.CloudFormationDescribeStacksPolicy
.
public object CloudFormationDescribeStacksPolicy { get; set; }
Property Value
System.Object
Remarks
CloudWatchPutMetricPolicy
CfnFunction.SAMPolicyTemplateProperty.CloudWatchPutMetricPolicy
.
public object CloudWatchPutMetricPolicy { get; set; }
Property Value
System.Object
Remarks
DynamoDbCrudPolicy
CfnFunction.SAMPolicyTemplateProperty.DynamoDBCrudPolicy
.
public object DynamoDbCrudPolicy { get; set; }
Property Value
System.Object
Remarks
DynamoDbReadPolicy
CfnFunction.SAMPolicyTemplateProperty.DynamoDBReadPolicy
.
public object DynamoDbReadPolicy { get; set; }
Property Value
System.Object
Remarks
DynamoDbStreamReadPolicy
CfnFunction.SAMPolicyTemplateProperty.DynamoDBStreamReadPolicy
.
public object DynamoDbStreamReadPolicy { get; set; }
Property Value
System.Object
Remarks
DynamoDbWritePolicy
CfnFunction.SAMPolicyTemplateProperty.DynamoDBWritePolicy
.
public object DynamoDbWritePolicy { get; set; }
Property Value
System.Object
Remarks
Ec2DescribePolicy
CfnFunction.SAMPolicyTemplateProperty.EC2DescribePolicy
.
public object Ec2DescribePolicy { get; set; }
Property Value
System.Object
Remarks
ElasticsearchHttpPostPolicy
CfnFunction.SAMPolicyTemplateProperty.ElasticsearchHttpPostPolicy
.
public object ElasticsearchHttpPostPolicy { get; set; }
Property Value
System.Object
Remarks
FilterLogEventsPolicy
CfnFunction.SAMPolicyTemplateProperty.FilterLogEventsPolicy
.
public object FilterLogEventsPolicy { get; set; }
Property Value
System.Object
Remarks
KinesisCrudPolicy
CfnFunction.SAMPolicyTemplateProperty.KinesisCrudPolicy
.
public object KinesisCrudPolicy { get; set; }
Property Value
System.Object
Remarks
KinesisStreamReadPolicy
CfnFunction.SAMPolicyTemplateProperty.KinesisStreamReadPolicy
.
public object KinesisStreamReadPolicy { get; set; }
Property Value
System.Object
Remarks
KmsDecryptPolicy
CfnFunction.SAMPolicyTemplateProperty.KMSDecryptPolicy
.
public object KmsDecryptPolicy { get; set; }
Property Value
System.Object
Remarks
LambdaInvokePolicy
CfnFunction.SAMPolicyTemplateProperty.LambdaInvokePolicy
.
public object LambdaInvokePolicy { get; set; }
Property Value
System.Object
Remarks
RekognitionDetectOnlyPolicy
CfnFunction.SAMPolicyTemplateProperty.RekognitionDetectOnlyPolicy
.
public object RekognitionDetectOnlyPolicy { get; set; }
Property Value
System.Object
Remarks
RekognitionLabelsPolicy
CfnFunction.SAMPolicyTemplateProperty.RekognitionLabelsPolicy
.
public object RekognitionLabelsPolicy { get; set; }
Property Value
System.Object
Remarks
RekognitionNoDataAccessPolicy
CfnFunction.SAMPolicyTemplateProperty.RekognitionNoDataAccessPolicy
.
public object RekognitionNoDataAccessPolicy { get; set; }
Property Value
System.Object
Remarks
RekognitionReadPolicy
CfnFunction.SAMPolicyTemplateProperty.RekognitionReadPolicy
.
public object RekognitionReadPolicy { get; set; }
Property Value
System.Object
Remarks
RekognitionWriteOnlyAccessPolicy
CfnFunction.SAMPolicyTemplateProperty.RekognitionWriteOnlyAccessPolicy
.
public object RekognitionWriteOnlyAccessPolicy { get; set; }
Property Value
System.Object
Remarks
S3CrudPolicy
CfnFunction.SAMPolicyTemplateProperty.S3CrudPolicy
.
public object S3CrudPolicy { get; set; }
Property Value
System.Object
Remarks
S3ReadPolicy
CfnFunction.SAMPolicyTemplateProperty.S3ReadPolicy
.
public object S3ReadPolicy { get; set; }
Property Value
System.Object
Remarks
S3WritePolicy
CfnFunction.SAMPolicyTemplateProperty.S3WritePolicy
.
public object S3WritePolicy { get; set; }
Property Value
System.Object
Remarks
SesBulkTemplatedCrudPolicy
CfnFunction.SAMPolicyTemplateProperty.SESBulkTemplatedCrudPolicy
.
public object SesBulkTemplatedCrudPolicy { get; set; }
Property Value
System.Object
Remarks
SesCrudPolicy
CfnFunction.SAMPolicyTemplateProperty.SESCrudPolicy
.
public object SesCrudPolicy { get; set; }
Property Value
System.Object
Remarks
SesEmailTemplateCrudPolicy
CfnFunction.SAMPolicyTemplateProperty.SESEmailTemplateCrudPolicy
.
public object SesEmailTemplateCrudPolicy { get; set; }
Property Value
System.Object
Remarks
SesSendBouncePolicy
CfnFunction.SAMPolicyTemplateProperty.SESSendBouncePolicy
.
public object SesSendBouncePolicy { get; set; }
Property Value
System.Object
Remarks
SnsCrudPolicy
CfnFunction.SAMPolicyTemplateProperty.SNSCrudPolicy
.
public object SnsCrudPolicy { get; set; }
Property Value
System.Object
Remarks
SnsPublishMessagePolicy
CfnFunction.SAMPolicyTemplateProperty.SNSPublishMessagePolicy
.
public object SnsPublishMessagePolicy { get; set; }
Property Value
System.Object
Remarks
SqsPollerPolicy
CfnFunction.SAMPolicyTemplateProperty.SQSPollerPolicy
.
public object SqsPollerPolicy { get; set; }
Property Value
System.Object
Remarks
SqsSendMessagePolicy
CfnFunction.SAMPolicyTemplateProperty.SQSSendMessagePolicy
.
public object SqsSendMessagePolicy { get; set; }
Property Value
System.Object
Remarks
SsmParameterReadPolicy
CfnFunction.SAMPolicyTemplateProperty.SSMParameterReadPolicy
.
public object SsmParameterReadPolicy { get; set; }
Property Value
System.Object
Remarks
StepFunctionsExecutionPolicy
CfnFunction.SAMPolicyTemplateProperty.StepFunctionsExecutionPolicy
.
public object StepFunctionsExecutionPolicy { get; set; }
Property Value
System.Object
Remarks
VpcAccessPolicy
CfnFunction.SAMPolicyTemplateProperty.VPCAccessPolicy
.
public object VpcAccessPolicy { get; set; }
Property Value
System.Object