Uses of Class
software.amazon.awscdk.services.iam.PolicyDocument
Package
Description
Amazon API Gateway Construct Library
AWS AppConfig Construct Library
AWS Backup Construct Library
Amazon DynamoDB Construct Library
Amazon EC2 Construct Library
Amazon Elastic File System Construct Library
AWS Identity and Access Management Construct Library
Amazon Kinesis Construct Library
AWS Key Management Service Construct Library
Amazon CloudWatch Logs Construct Library
Amazon S3 Construct Library
AWS Secrets Manager Construct Library
Amazon Simple Notification Service Construct Library
Amazon Simple Queue Service Construct Library
-
Uses of PolicyDocument in software.amazon.awscdk.services.apigateway
Modifier and TypeMethodDescriptionfinal PolicyDocument
LambdaRestApiProps.Jsii$Proxy.getPolicy()
default PolicyDocument
RestApiBaseProps.getPolicy()
A policy document that contains the permissions for this RestApi.final PolicyDocument
RestApiBaseProps.Jsii$Proxy.getPolicy()
final PolicyDocument
RestApiProps.Jsii$Proxy.getPolicy()
final PolicyDocument
SpecRestApiProps.Jsii$Proxy.getPolicy()
final PolicyDocument
StepFunctionsRestApiProps.Jsii$Proxy.getPolicy()
Modifier and TypeMethodDescriptionLambdaRestApi.Builder.policy
(PolicyDocument policy) A policy document that contains the permissions for this RestApi.LambdaRestApiProps.Builder.policy
(PolicyDocument policy) Sets the value ofRestApiBaseProps.getPolicy()
RestApi.Builder.policy
(PolicyDocument policy) A policy document that contains the permissions for this RestApi.RestApiBaseProps.Builder.policy
(PolicyDocument policy) Sets the value ofRestApiBaseProps.getPolicy()
RestApiProps.Builder.policy
(PolicyDocument policy) Sets the value ofRestApiBaseProps.getPolicy()
SpecRestApi.Builder.policy
(PolicyDocument policy) A policy document that contains the permissions for this RestApi.SpecRestApiProps.Builder.policy
(PolicyDocument policy) Sets the value ofRestApiBaseProps.getPolicy()
StepFunctionsRestApi.Builder.policy
(PolicyDocument policy) A policy document that contains the permissions for this RestApi.StepFunctionsRestApiProps.Builder.policy
(PolicyDocument policy) Sets the value ofRestApiBaseProps.getPolicy()
-
Uses of PolicyDocument in software.amazon.awscdk.services.appconfig
Modifier and TypeMethodDescriptiondefault PolicyDocument
IEventDestination.getPolicyDocument()
The IAM policy document to invoke the event destination.default PolicyDocument
IEventDestination.Jsii$Default.getPolicyDocument()
The IAM policy document to invoke the event destination.final PolicyDocument
IEventDestination.Jsii$Proxy.getPolicyDocument()
The IAM policy document to invoke the event destination.LambdaDestination.getPolicyDocument()
The IAM policy document to invoke the event destination.SnsDestination.getPolicyDocument()
The IAM policy document to invoke the event destination.SqsDestination.getPolicyDocument()
The IAM policy document to invoke the event destination. -
Uses of PolicyDocument in software.amazon.awscdk.services.backup
Modifier and TypeMethodDescriptiondefault PolicyDocument
BackupVaultProps.getAccessPolicy()
A resource-based policy that is used to manage access permissions on the backup vault.final PolicyDocument
BackupVaultProps.Jsii$Proxy.getAccessPolicy()
Modifier and TypeMethodDescriptionBackupVault.Builder.accessPolicy
(PolicyDocument accessPolicy) A resource-based policy that is used to manage access permissions on the backup vault.BackupVaultProps.Builder.accessPolicy
(PolicyDocument accessPolicy) Sets the value ofBackupVaultProps.getAccessPolicy()
-
Uses of PolicyDocument in software.amazon.awscdk.services.dynamodb
Modifier and TypeMethodDescriptionfinal PolicyDocument
ReplicaTableProps.Jsii$Proxy.getResourcePolicy()
Table.getResourcePolicy()
Resource policy to assign to DynamoDB Table.abstract PolicyDocument
TableBase.getResourcePolicy()
Resource policy to assign to table.abstract PolicyDocument
TableBaseV2.getResourcePolicy()
The resource policy for the table.default PolicyDocument
TableOptions.getResourcePolicy()
Resource policy to assign to table.final PolicyDocument
TableOptions.Jsii$Proxy.getResourcePolicy()
default PolicyDocument
TableOptionsV2.getResourcePolicy()
Resource policy to assign to DynamoDB Table.final PolicyDocument
TableOptionsV2.Jsii$Proxy.getResourcePolicy()
final PolicyDocument
TableProps.Jsii$Proxy.getResourcePolicy()
final PolicyDocument
TablePropsV2.Jsii$Proxy.getResourcePolicy()
TableV2.getResourcePolicy()
The resource policy for the table.Modifier and TypeMethodDescriptionReplicaTableProps.Builder.resourcePolicy
(PolicyDocument resourcePolicy) Sets the value ofTableOptionsV2.getResourcePolicy()
Table.Builder.resourcePolicy
(PolicyDocument resourcePolicy) Resource policy to assign to table.TableOptions.Builder.resourcePolicy
(PolicyDocument resourcePolicy) Sets the value ofTableOptions.getResourcePolicy()
TableOptionsV2.Builder.resourcePolicy
(PolicyDocument resourcePolicy) Sets the value ofTableOptionsV2.getResourcePolicy()
TableProps.Builder.resourcePolicy
(PolicyDocument resourcePolicy) Sets the value ofTableOptions.getResourcePolicy()
TablePropsV2.Builder.resourcePolicy
(PolicyDocument resourcePolicy) Sets the value ofTableOptionsV2.getResourcePolicy()
TableV2.Builder.resourcePolicy
(PolicyDocument resourcePolicy) Resource policy to assign to DynamoDB Table.void
Table.setResourcePolicy
(PolicyDocument value) Resource policy to assign to DynamoDB Table.abstract void
TableBase.setResourcePolicy
(PolicyDocument value) Resource policy to assign to table.abstract void
TableBaseV2.setResourcePolicy
(PolicyDocument value) The resource policy for the table.void
TableV2.setResourcePolicy
(PolicyDocument value) The resource policy for the table. -
Uses of PolicyDocument in software.amazon.awscdk.services.ec2
Modifier and TypeMethodDescriptionprotected void
VpcEndpoint.setPolicyDocument
(PolicyDocument value) -
Uses of PolicyDocument in software.amazon.awscdk.services.efs
Modifier and TypeMethodDescriptiondefault PolicyDocument
FileSystemProps.getFileSystemPolicy()
File system policy is an IAM resource policy used to control NFS access to an EFS file system.final PolicyDocument
FileSystemProps.Jsii$Proxy.getFileSystemPolicy()
Modifier and TypeMethodDescriptionFileSystem.Builder.fileSystemPolicy
(PolicyDocument fileSystemPolicy) File system policy is an IAM resource policy used to control NFS access to an EFS file system.FileSystemProps.Builder.fileSystemPolicy
(PolicyDocument fileSystemPolicy) Sets the value ofFileSystemProps.getFileSystemPolicy()
-
Uses of PolicyDocument in software.amazon.awscdk.services.iam
Modifier and TypeMethodDescriptionPolicyDocument.Builder.build()
static PolicyDocument
Creates a new PolicyDocument based on the object provided.Role.getAssumeRolePolicy()
The assume role policy document associated with this role.ManagedPolicy.getDocument()
The policy document.default PolicyDocument
ManagedPolicyProps.getDocument()
Initial PolicyDocument to use for this ManagedPolicy.final PolicyDocument
ManagedPolicyProps.Jsii$Proxy.getDocument()
Policy.getDocument()
The policy document.default PolicyDocument
PolicyProps.getDocument()
Initial PolicyDocument to use for this Policy.final PolicyDocument
PolicyProps.Jsii$Proxy.getDocument()
Modifier and TypeMethodDescriptionfinal Map<String,
PolicyDocument> LazyRoleProps.Jsii$Proxy.getInlinePolicies()
default Map<String,
PolicyDocument> RoleProps.getInlinePolicies()
A list of named policies to inline into this role.final Map<String,
PolicyDocument> RoleProps.Jsii$Proxy.getInlinePolicies()
Modifier and TypeMethodDescriptionvoid
CompositePrincipal.addToAssumeRolePolicy
(PolicyDocument doc) Add the principal to the AssumeRolePolicyDocument.void
IAssumeRolePrincipal.addToAssumeRolePolicy
(PolicyDocument document) Add the principal to the AssumeRolePolicyDocument.default void
IAssumeRolePrincipal.Jsii$Default.addToAssumeRolePolicy
(PolicyDocument document) Add the principal to the AssumeRolePolicyDocument.final void
IAssumeRolePrincipal.Jsii$Proxy.addToAssumeRolePolicy
(PolicyDocument document) Add the principal to the AssumeRolePolicyDocument.void
PrincipalBase.addToAssumeRolePolicy
(PolicyDocument document) Add the principal to the AssumeRolePolicyDocument.void
PrincipalWithConditions.addToAssumeRolePolicy
(PolicyDocument doc) Add the principal to the AssumeRolePolicyDocument.void
SessionTagsPrincipal.addToAssumeRolePolicy
(PolicyDocument doc) Add the principal to the AssumeRolePolicyDocument.ManagedPolicy.Builder.document
(PolicyDocument document) Initial PolicyDocument to use for this ManagedPolicy.ManagedPolicyProps.Builder.document
(PolicyDocument document) Sets the value ofManagedPolicyProps.getDocument()
Policy.Builder.document
(PolicyDocument document) Initial PolicyDocument to use for this Policy.PolicyProps.Builder.document
(PolicyDocument document) Sets the value ofPolicyProps.getDocument()
Modifier and TypeMethodDescriptionLazyRole.Builder.inlinePolicies
(Map<String, ? extends PolicyDocument> inlinePolicies) A list of named policies to inline into this role.LazyRoleProps.Builder.inlinePolicies
(Map<String, ? extends PolicyDocument> inlinePolicies) Sets the value ofRoleProps.getInlinePolicies()
Role.Builder.inlinePolicies
(Map<String, ? extends PolicyDocument> inlinePolicies) A list of named policies to inline into this role.RoleProps.Builder.inlinePolicies
(Map<String, ? extends PolicyDocument> inlinePolicies) Sets the value ofRoleProps.getInlinePolicies()
-
Uses of PolicyDocument in software.amazon.awscdk.services.kinesis
Modifier and TypeMethodDescriptionResourcePolicy.getDocument()
The IAM policy document for this policy.default PolicyDocument
ResourcePolicyProps.getPolicyDocument()
IAM policy document to apply to a data stream.final PolicyDocument
ResourcePolicyProps.Jsii$Proxy.getPolicyDocument()
Modifier and TypeMethodDescriptionResourcePolicy.Builder.policyDocument
(PolicyDocument policyDocument) IAM policy document to apply to a data stream.ResourcePolicyProps.Builder.policyDocument
(PolicyDocument policyDocument) Sets the value ofResourcePolicyProps.getPolicyDocument()
-
Uses of PolicyDocument in software.amazon.awscdk.services.kms
Modifier and TypeMethodDescriptionprotected PolicyDocument
Key.getPolicy()
Optional policy document that represents the resource policy of this key.default PolicyDocument
KeyProps.getPolicy()
Custom policy document to attach to the KMS key.final PolicyDocument
KeyProps.Jsii$Proxy.getPolicy()
Modifier and TypeMethodDescriptionKey.Builder.policy
(PolicyDocument policy) Custom policy document to attach to the KMS key.KeyProps.Builder.policy
(PolicyDocument policy) Sets the value ofKeyProps.getPolicy()
-
Uses of PolicyDocument in software.amazon.awscdk.services.logs
Modifier and TypeMethodDescriptionResourcePolicy.getDocument()
The IAM policy document for this resource policy.CrossAccountDestination.getPolicyDocument()
Policy object of this CrossAccountDestination object. -
Uses of PolicyDocument in software.amazon.awscdk.services.s3
Modifier and TypeMethodDescriptionBucketPolicy.getDocument()
A policy document containing permissions to add to the specified bucket. -
Uses of PolicyDocument in software.amazon.awscdk.services.secretsmanager
Modifier and TypeMethodDescriptionResourcePolicy.getDocument()
The IAM policy document for this policy. -
Uses of PolicyDocument in software.amazon.awscdk.services.sns
Modifier and TypeMethodDescriptionTopicPolicy.getDocument()
The IAM policy document for this policy.default PolicyDocument
TopicPolicyProps.getPolicyDocument()
IAM policy document to apply to topic(s).final PolicyDocument
TopicPolicyProps.Jsii$Proxy.getPolicyDocument()
Modifier and TypeMethodDescriptionTopicPolicy.Builder.policyDocument
(PolicyDocument policyDocument) IAM policy document to apply to topic(s).TopicPolicyProps.Builder.policyDocument
(PolicyDocument policyDocument) Sets the value ofTopicPolicyProps.getPolicyDocument()
-
Uses of PolicyDocument in software.amazon.awscdk.services.sqs
Modifier and TypeMethodDescriptionQueuePolicy.getDocument()
The IAM policy document for this policy.