Uses of Class
software.amazon.awscdk.services.iam.PolicyDocument
Packages that use 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
Amazon S3 Tables 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
Methods in software.amazon.awscdk.services.apigateway that return PolicyDocumentModifier and TypeMethodDescriptionfinal PolicyDocumentLambdaRestApiProps.Jsii$Proxy.getPolicy()default PolicyDocumentRestApiBaseProps.getPolicy()A policy document that contains the permissions for this RestApi.final PolicyDocumentRestApiBaseProps.Jsii$Proxy.getPolicy()final PolicyDocumentRestApiProps.Jsii$Proxy.getPolicy()final PolicyDocumentSpecRestApiProps.Jsii$Proxy.getPolicy()final PolicyDocumentStepFunctionsRestApiProps.Jsii$Proxy.getPolicy()protected PolicyDocumentRestApiBase.getResourcePolicy()Methods in software.amazon.awscdk.services.apigateway with parameters of type PolicyDocumentModifier 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()protected voidRestApiBase.setResourcePolicy(PolicyDocument value) -
Uses of PolicyDocument in software.amazon.awscdk.services.appconfig
Methods in software.amazon.awscdk.services.appconfig that return PolicyDocumentModifier and TypeMethodDescriptiondefault PolicyDocumentIEventDestination.getPolicyDocument()The IAM policy document to invoke the event destination.default PolicyDocumentIEventDestination.Jsii$Default.getPolicyDocument()The IAM policy document to invoke the event destination.final PolicyDocumentIEventDestination.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
Methods in software.amazon.awscdk.services.backup that return PolicyDocumentModifier and TypeMethodDescriptiondefault PolicyDocumentBackupVaultProps.getAccessPolicy()A resource-based policy that is used to manage access permissions on the backup vault.final PolicyDocumentBackupVaultProps.Jsii$Proxy.getAccessPolicy()Methods in software.amazon.awscdk.services.backup with parameters of type PolicyDocumentModifier 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
Methods in software.amazon.awscdk.services.dynamodb that return PolicyDocumentModifier and TypeMethodDescriptionfinal PolicyDocumentReplicaTableProps.Jsii$Proxy.getResourcePolicy()Table.getResourcePolicy()Resource policy to assign to DynamoDB Table.abstract PolicyDocumentTableBase.getResourcePolicy()Resource policy to assign to table.abstract PolicyDocumentTableBaseV2.getResourcePolicy()The resource policy for the table.default PolicyDocumentTableOptions.getResourcePolicy()Resource policy to assign to table.final PolicyDocumentTableOptions.Jsii$Proxy.getResourcePolicy()default PolicyDocumentTableOptionsV2.getResourcePolicy()Resource policy to assign to DynamoDB Table.final PolicyDocumentTableOptionsV2.Jsii$Proxy.getResourcePolicy()final PolicyDocumentTableProps.Jsii$Proxy.getResourcePolicy()final PolicyDocumentTablePropsV2.Jsii$Proxy.getResourcePolicy()TableV2.getResourcePolicy()The resource policy for the table.Methods in software.amazon.awscdk.services.dynamodb with parameters of type PolicyDocumentModifier 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.voidTable.setResourcePolicy(PolicyDocument value) Resource policy to assign to DynamoDB Table.abstract voidTableBase.setResourcePolicy(PolicyDocument value) Resource policy to assign to table.abstract voidTableBaseV2.setResourcePolicy(PolicyDocument value) The resource policy for the table.voidTableV2.setResourcePolicy(PolicyDocument value) The resource policy for the table. -
Uses of PolicyDocument in software.amazon.awscdk.services.ec2
Methods in software.amazon.awscdk.services.ec2 that return PolicyDocumentMethods in software.amazon.awscdk.services.ec2 with parameters of type PolicyDocumentModifier and TypeMethodDescriptionprotected voidVpcEndpoint.setPolicyDocument(PolicyDocument value) -
Uses of PolicyDocument in software.amazon.awscdk.services.efs
Methods in software.amazon.awscdk.services.efs that return PolicyDocumentModifier and TypeMethodDescriptiondefault PolicyDocumentFileSystemProps.getFileSystemPolicy()File system policy is an IAM resource policy used to control NFS access to an EFS file system.final PolicyDocumentFileSystemProps.Jsii$Proxy.getFileSystemPolicy()Methods in software.amazon.awscdk.services.efs with parameters of type PolicyDocumentModifier 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
Methods in software.amazon.awscdk.services.iam that return PolicyDocumentModifier and TypeMethodDescriptionPolicyDocument.Builder.build()static PolicyDocumentCreates 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 PolicyDocumentManagedPolicyProps.getDocument()Initial PolicyDocument to use for this ManagedPolicy.final PolicyDocumentManagedPolicyProps.Jsii$Proxy.getDocument()Policy.getDocument()The policy document.default PolicyDocumentPolicyProps.getDocument()Initial PolicyDocument to use for this Policy.final PolicyDocumentPolicyProps.Jsii$Proxy.getDocument()Methods in software.amazon.awscdk.services.iam that return types with arguments of type PolicyDocumentModifier 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()Methods in software.amazon.awscdk.services.iam with parameters of type PolicyDocumentModifier and TypeMethodDescriptionvoidCompositePrincipal.addToAssumeRolePolicy(PolicyDocument doc) Add the principal to the AssumeRolePolicyDocument.voidIAssumeRolePrincipal.addToAssumeRolePolicy(PolicyDocument document) Add the principal to the AssumeRolePolicyDocument.default voidIAssumeRolePrincipal.Jsii$Default.addToAssumeRolePolicy(PolicyDocument document) Add the principal to the AssumeRolePolicyDocument.final voidIAssumeRolePrincipal.Jsii$Proxy.addToAssumeRolePolicy(PolicyDocument document) Add the principal to the AssumeRolePolicyDocument.voidPrincipalBase.addToAssumeRolePolicy(PolicyDocument document) Add the principal to the AssumeRolePolicyDocument.voidPrincipalWithConditions.addToAssumeRolePolicy(PolicyDocument doc) Add the principal to the AssumeRolePolicyDocument.voidSessionTagsPrincipal.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()Method parameters in software.amazon.awscdk.services.iam with type arguments of type PolicyDocumentModifier 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
Methods in software.amazon.awscdk.services.kinesis that return PolicyDocumentModifier and TypeMethodDescriptionResourcePolicy.getDocument()The IAM policy document for this policy.default PolicyDocumentResourcePolicyProps.getPolicyDocument()IAM policy document to apply to a data stream.final PolicyDocumentResourcePolicyProps.Jsii$Proxy.getPolicyDocument()Methods in software.amazon.awscdk.services.kinesis with parameters of type PolicyDocumentModifier 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
Methods in software.amazon.awscdk.services.kms that return PolicyDocumentModifier and TypeMethodDescriptionprotected PolicyDocumentKey.getPolicy()Optional policy document that represents the resource policy of this key.default PolicyDocumentKeyProps.getPolicy()Custom policy document to attach to the KMS key.final PolicyDocumentKeyProps.Jsii$Proxy.getPolicy()Methods in software.amazon.awscdk.services.kms with parameters of type PolicyDocumentModifier 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
Methods in software.amazon.awscdk.services.logs that return PolicyDocumentModifier 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
Methods in software.amazon.awscdk.services.s3 that return PolicyDocumentModifier and TypeMethodDescriptionBucketPolicy.getDocument()A policy document containing permissions to add to the specified bucket.default PolicyDocumentBucketPolicyProps.getDocument()Policy document to apply to the bucket.final PolicyDocumentBucketPolicyProps.Jsii$Proxy.getDocument()Methods in software.amazon.awscdk.services.s3 with parameters of type PolicyDocumentModifier and TypeMethodDescriptionBucketPolicy.Builder.document(PolicyDocument document) Policy document to apply to the bucket.BucketPolicyProps.Builder.document(PolicyDocument document) Sets the value ofBucketPolicyProps.getDocument() -
Uses of PolicyDocument in software.amazon.awscdk.services.s3tables.alpha
Methods in software.amazon.awscdk.services.s3tables.alpha that return PolicyDocumentModifier and TypeMethodDescriptionTableBucketPolicy.getDocument()(experimental) The IAM PolicyDocument containing permissions represented by this policy.TablePolicy.getDocument()(experimental) The IAM PolicyDocument containing permissions represented by this policy.default PolicyDocumentTableBucketPolicyProps.getResourcePolicy()(experimental) The policy document for the bucket's resource policy.final PolicyDocumentTableBucketPolicyProps.Jsii$Proxy.getResourcePolicy()default PolicyDocumentTablePolicyProps.getResourcePolicy()(experimental) The policy document for the table's resource policy.final PolicyDocumentTablePolicyProps.Jsii$Proxy.getResourcePolicy()Methods in software.amazon.awscdk.services.s3tables.alpha with parameters of type PolicyDocumentModifier and TypeMethodDescriptionTableBucketPolicy.Builder.resourcePolicy(PolicyDocument resourcePolicy) (experimental) The policy document for the bucket's resource policy.TableBucketPolicyProps.Builder.resourcePolicy(PolicyDocument resourcePolicy) Sets the value ofTableBucketPolicyProps.getResourcePolicy()TablePolicy.Builder.resourcePolicy(PolicyDocument resourcePolicy) (experimental) The policy document for the table's resource policy.TablePolicyProps.Builder.resourcePolicy(PolicyDocument resourcePolicy) Sets the value ofTablePolicyProps.getResourcePolicy() -
Uses of PolicyDocument in software.amazon.awscdk.services.secretsmanager
Methods in software.amazon.awscdk.services.secretsmanager that return PolicyDocumentModifier and TypeMethodDescriptionResourcePolicy.getDocument()The IAM policy document for this policy. -
Uses of PolicyDocument in software.amazon.awscdk.services.sns
Methods in software.amazon.awscdk.services.sns that return PolicyDocumentModifier and TypeMethodDescriptionTopicPolicy.getDocument()The IAM policy document for this policy.default PolicyDocumentTopicPolicyProps.getPolicyDocument()IAM policy document to apply to topic(s).final PolicyDocumentTopicPolicyProps.Jsii$Proxy.getPolicyDocument()Methods in software.amazon.awscdk.services.sns with parameters of type PolicyDocumentModifier 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
Methods in software.amazon.awscdk.services.sqs that return PolicyDocumentModifier and TypeMethodDescriptionQueuePolicy.getDocument()The IAM policy document for this policy.