Uses of Class
software.amazon.awscdk.services.iam.PolicyStatement
Package
Description
AWS CDK Custom Resources
CDK Pipelines
AWS Auto Scaling Construct Library
AWS::AppRunner Construct Library
Amazon EC2 Auto Scaling Construct Library
AWS Backup Construct Library
AWS::Chatbot Construct Library
AWS CodeBuild Construct Library
AWS CodePipeline Construct Library
AWS CodePipeline Actions
Amazon DynamoDB Construct Library
Amazon EC2 Construct Library
Amazon ECR Construct Library
Amazon ECS Construct Library
Amazon Elastic File System Construct Library
Amazon EKS Construct Library
Amazon OpenSearch Service Construct Library
Amazon EventBridge Construct Library
Event Targets for Amazon EventBridge
AWS Identity and Access Management Construct Library
Kinesis Analytics Flink
AWS Key Management Service Construct Library
AWS Lambda Construct Library
Amazon Lambda Golang Library
Amazon Lambda Node.js Library
Amazon Lambda Python Library
Amazon CloudWatch Logs Construct Library
Amazon OpenSearch Service Construct Library
Amazon S3 Construct Library
Amazon SageMaker Construct Library
AWS Secrets Manager Construct Library
Amazon Simple Notification Service Construct Library
Amazon Simple Queue Service Construct Library
AWS Step Functions Construct Library
Tasks for AWS Step Functions
Triggers
-
Uses of PolicyStatement in software.amazon.awscdk.customresources
Modifier and TypeMethodDescriptionAwsCustomResourcePolicy.getStatements()
statements for explicit policy.Modifier and TypeMethodDescriptionstatic AwsCustomResourcePolicy
AwsCustomResourcePolicy.fromStatements
(List<? extends PolicyStatement> statements) Explicit IAM Policy Statements. -
Uses of PolicyStatement in software.amazon.awscdk.pipelines
Modifier and TypeMethodDescriptiondefault List<PolicyStatement>
CodeBuildOptions.getRolePolicy()
Policy statements to add to role.final List<PolicyStatement>
CodeBuildOptions.Jsii$Proxy.getRolePolicy()
CodeBuildStep.getRolePolicyStatements()
Policy statements to add to role used during the synth.default List<PolicyStatement>
CodeBuildStepProps.getRolePolicyStatements()
Policy statements to add to role used during the synth.final List<PolicyStatement>
CodeBuildStepProps.Jsii$Proxy.getRolePolicyStatements()
Modifier and TypeMethodDescriptionCodeBuildOptions.Builder.rolePolicy
(List<? extends PolicyStatement> rolePolicy) Sets the value ofCodeBuildOptions.getRolePolicy()
CodeBuildStep.Builder.rolePolicyStatements
(List<? extends PolicyStatement> rolePolicyStatements) Policy statements to add to role used during the synth.CodeBuildStepProps.Builder.rolePolicyStatements
(List<? extends PolicyStatement> rolePolicyStatements) Sets the value ofCodeBuildStepProps.getRolePolicyStatements()
-
Uses of PolicyStatement in software.amazon.awscdk.services.applicationautoscaling
Modifier and TypeMethodDescriptionvoid
ScalableTarget.addToRolePolicy
(PolicyStatement statement) Add a policy statement to the role's policy. -
Uses of PolicyStatement in software.amazon.awscdk.services.apprunner.alpha
Modifier and TypeMethodDescriptionvoid
Service.addToRolePolicy
(PolicyStatement statement) (experimental) Adds a statement to the instance role. -
Uses of PolicyStatement in software.amazon.awscdk.services.autoscaling
Modifier and TypeMethodDescriptionvoid
AutoScalingGroup.addToRolePolicy
(PolicyStatement statement) Adds a statement to the IAM role assumed by instances of this fleet. -
Uses of PolicyStatement in software.amazon.awscdk.services.backup
Modifier and TypeMethodDescriptionvoid
BackupVault.addToAccessPolicy
(PolicyStatement statement) Adds a statement to the vault access policy. -
Uses of PolicyStatement in software.amazon.awscdk.services.chatbot
Modifier and TypeMethodDescriptionvoid
ISlackChannelConfiguration.addToRolePolicy
(PolicyStatement statement) Adds a statement to the IAM role.default void
ISlackChannelConfiguration.Jsii$Default.addToRolePolicy
(PolicyStatement statement) Adds a statement to the IAM role.final void
ISlackChannelConfiguration.Jsii$Proxy.addToRolePolicy
(PolicyStatement statement) Adds a statement to the IAM role.void
SlackChannelConfiguration.addToRolePolicy
(PolicyStatement statement) Adds extra permission to iam-role of Slack channel configuration. -
Uses of PolicyStatement in software.amazon.awscdk.services.cloudfront.experimental
Modifier and TypeMethodDescriptionfinal List<PolicyStatement>
EdgeFunctionProps.Jsii$Proxy.getInitialPolicy()
Modifier and TypeMethodDescriptionvoid
EdgeFunction.addToRolePolicy
(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.Modifier and TypeMethodDescriptionEdgeFunction.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Initial policy statements to add to the created Lambda Role.EdgeFunctionProps.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Sets the value ofFunctionOptions.getInitialPolicy()
-
Uses of PolicyStatement in software.amazon.awscdk.services.codebuild
Modifier and TypeMethodDescriptiondefault List<PolicyStatement>
UntrustedCodeBoundaryPolicyProps.getAdditionalStatements()
Additional statements to add to the default set of statements.final List<PolicyStatement>
UntrustedCodeBoundaryPolicyProps.Jsii$Proxy.getAdditionalStatements()
Modifier and TypeMethodDescriptionvoid
IProject.addToRolePolicy
(PolicyStatement policyStatement) default void
IProject.Jsii$Default.addToRolePolicy
(PolicyStatement policyStatement) final void
IProject.Jsii$Proxy.addToRolePolicy
(PolicyStatement policyStatement) void
Project.addToRolePolicy
(PolicyStatement statement) Add a permission only if there's a policy attached.Modifier and TypeMethodDescriptionUntrustedCodeBoundaryPolicy.Builder.additionalStatements
(List<? extends PolicyStatement> additionalStatements) Additional statements to add to the default set of statements.UntrustedCodeBoundaryPolicyProps.Builder.additionalStatements
(List<? extends PolicyStatement> additionalStatements) Sets the value ofUntrustedCodeBoundaryPolicyProps.getAdditionalStatements()
-
Uses of PolicyStatement in software.amazon.awscdk.services.codepipeline
Modifier and TypeMethodDescriptionvoid
Pipeline.addToRolePolicy
(PolicyStatement statement) Adds a statement to the pipeline role. -
Uses of PolicyStatement in software.amazon.awscdk.services.codepipeline.actions
Modifier and TypeMethodDescriptionCloudFormationCreateReplaceChangeSetAction.addToDeploymentRolePolicy
(PolicyStatement statement) Add statement to the service role assumed by CloudFormation while executing this action.CloudFormationCreateUpdateStackAction.addToDeploymentRolePolicy
(PolicyStatement statement) Add statement to the service role assumed by CloudFormation while executing this action.CloudFormationDeleteStackAction.addToDeploymentRolePolicy
(PolicyStatement statement) Add statement to the service role assumed by CloudFormation while executing this action. -
Uses of PolicyStatement in software.amazon.awscdk.services.dynamodb
Modifier and TypeMethodDescriptionTableBase.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the resource policy associated with this file system.TableBaseV2.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the resource policy associated with this file system. -
Uses of PolicyStatement in software.amazon.awscdk.services.ec2
Modifier and TypeMethodDescriptionvoid
VpcEndpoint.addToPolicy
(PolicyStatement statement) Adds a statement to the policy document of the VPC endpoint.void
Instance.addToRolePolicy
(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance. -
Uses of PolicyStatement in software.amazon.awscdk.services.ecr
Modifier and TypeMethodDescriptionIRepository.addToResourcePolicy
(PolicyStatement statement) Add a policy statement to the repository's resource policy.default AddToResourcePolicyResult
IRepository.Jsii$Default.addToResourcePolicy
(PolicyStatement statement) Add a policy statement to the repository's resource policy.IRepository.Jsii$Proxy.addToResourcePolicy
(PolicyStatement statement) Add a policy statement to the repository's resource policy.Repository.addToResourcePolicy
(PolicyStatement statement) Add a policy statement to the repository's resource policy.abstract AddToResourcePolicyResult
RepositoryBase.addToResourcePolicy
(PolicyStatement statement) Add a policy statement to the repository's resource policy. -
Uses of PolicyStatement in software.amazon.awscdk.services.ecs
Modifier and TypeMethodDescriptionvoid
ContainerDefinition.addToExecutionPolicy
(PolicyStatement statement) This method adds the specified statement to the IAM task execution policy in the task definition.void
TaskDefinition.addToExecutionRolePolicy
(PolicyStatement statement) Adds a policy statement to the task execution IAM role.void
TaskDefinition.addToTaskRolePolicy
(PolicyStatement statement) Adds a policy statement to the task IAM role. -
Uses of PolicyStatement in software.amazon.awscdk.services.efs
Modifier and TypeMethodDescriptionFileSystem.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the resource policy associated with this file system.default AddToResourcePolicyResult
IFileSystem.Jsii$Default.addToResourcePolicy
(PolicyStatement statement) Add a statement to the resource's resource policy.IFileSystem.Jsii$Proxy.addToResourcePolicy
(PolicyStatement statement) Add a statement to the resource's resource policy. -
Uses of PolicyStatement in software.amazon.awscdk.services.eks
Modifier and TypeMethodDescriptionServiceAccount.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal. -
Uses of PolicyStatement in software.amazon.awscdk.services.elasticsearch
Modifier and TypeMethodDescriptiondefault List<PolicyStatement>
DomainProps.getAccessPolicies()
Deprecated.use opensearchservice module insteadfinal List<PolicyStatement>
DomainProps.Jsii$Proxy.getAccessPolicies()
Deprecated.Modifier and TypeMethodDescriptionvoid
Domain.addAccessPolicies
(@NotNull PolicyStatement... accessPolicyStatements) Deprecated.use opensearchservice module insteadModifier and TypeMethodDescriptionDomain.Builder.accessPolicies
(List<? extends PolicyStatement> accessPolicies) Deprecated.use opensearchservice module insteadDomainProps.Builder.accessPolicies
(List<? extends PolicyStatement> accessPolicies) Deprecated.use opensearchservice module instead -
Uses of PolicyStatement in software.amazon.awscdk.services.events
Modifier and TypeMethodDescriptionEventBusPolicyProps.getStatement()
An IAM Policy Statement to apply to the Event Bus.final PolicyStatement
EventBusPolicyProps.Jsii$Proxy.getStatement()
Modifier and TypeMethodDescriptionEventBus.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this event bus.EventBusPolicy.Builder.statement
(PolicyStatement statement) An IAM Policy Statement to apply to the Event Bus.EventBusPolicyProps.Builder.statement
(PolicyStatement statement) Sets the value ofEventBusPolicyProps.getStatement()
-
Uses of PolicyStatement in software.amazon.awscdk.services.events.targets
Modifier and TypeMethodDescriptiondefault PolicyStatement
AwsApiProps.getPolicyStatement()
The IAM policy statement to allow the API call.final PolicyStatement
AwsApiProps.Jsii$Proxy.getPolicyStatement()
Modifier and TypeMethodDescriptionAwsApi.Builder.policyStatement
(PolicyStatement policyStatement) The IAM policy statement to allow the API call.AwsApiProps.Builder.policyStatement
(PolicyStatement policyStatement) Sets the value ofAwsApiProps.getPolicyStatement()
-
Uses of PolicyStatement in software.amazon.awscdk.services.iam
Modifier and TypeMethodDescriptionPolicyStatement.Builder.build()
PolicyStatement.copy()
Create a newPolicyStatement
with the same exact properties as this one, except for the overrides.PolicyStatement.copy
(PolicyStatementProps overrides) Create a newPolicyStatement
with the same exact properties as this one, except for the overrides.PolicyStatement.freeze()
Make the PolicyStatement immutable.static PolicyStatement
Creates a new PolicyStatement based on the object provided.Grant.getPrincipalStatement()
Deprecated.UseprincipalStatements
insteadGrant.getResourceStatement()
Deprecated.UseresourceStatements
insteadModifier and TypeMethodDescriptionGrant.getPrincipalStatements()
The statements that were added to the principal's policy.Grant.getResourceStatements()
The statements that were added to the principal's policy.default List<PolicyStatement>
ManagedPolicyProps.getStatements()
Initial set of permissions to add to this policy document.final List<PolicyStatement>
ManagedPolicyProps.Jsii$Proxy.getStatements()
default List<PolicyStatement>
PolicyDocumentProps.getStatements()
Initial statements to add to the policy document.final List<PolicyStatement>
PolicyDocumentProps.Jsii$Proxy.getStatements()
default List<PolicyStatement>
PolicyProps.getStatements()
Initial set of permissions to add to this policy document.final List<PolicyStatement>
PolicyProps.Jsii$Proxy.getStatements()
Modifier and TypeMethodDescriptionvoid
ManagedPolicy.addStatements
(@NotNull PolicyStatement... statement) Adds a statement to the policy document.void
Policy.addStatements
(@NotNull PolicyStatement... statement) Adds a statement to the policy document.void
PolicyDocument.addStatements
(@NotNull PolicyStatement... statement) Adds a statement to the policy document.Group.addToPolicy
(PolicyStatement statement) Add to the policy of this principal.LazyRole.addToPolicy
(PolicyStatement statement) Add to the policy of this principal.PrincipalBase.addToPolicy
(PolicyStatement statement) Add to the policy of this principal.PrincipalWithConditions.addToPolicy
(PolicyStatement statement) Add to the policy of this principal.Role.addToPolicy
(PolicyStatement statement) Add to the policy of this principal.SessionTagsPrincipal.addToPolicy
(PolicyStatement statement) Add to the policy of this principal.UnknownPrincipal.addToPolicy
(PolicyStatement statement) Add to the policy of this principal.User.addToPolicy
(PolicyStatement statement) Add to the policy of this principal.Group.addToPrincipalPolicy
(PolicyStatement statement) Adds an IAM statement to the default policy.default AddToPrincipalPolicyResult
IAssumeRolePrincipal.Jsii$Default.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.IAssumeRolePrincipal.Jsii$Proxy.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.default AddToPrincipalPolicyResult
IComparablePrincipal.Jsii$Default.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.IComparablePrincipal.Jsii$Proxy.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.default AddToPrincipalPolicyResult
IGroup.Jsii$Default.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.IGroup.Jsii$Proxy.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.default AddToPrincipalPolicyResult
IIdentity.Jsii$Default.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.IIdentity.Jsii$Proxy.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.IPrincipal.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.default AddToPrincipalPolicyResult
IPrincipal.Jsii$Default.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.IPrincipal.Jsii$Proxy.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.default AddToPrincipalPolicyResult
IRole.Jsii$Default.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.IRole.Jsii$Proxy.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.default AddToPrincipalPolicyResult
IUser.Jsii$Default.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.IUser.Jsii$Proxy.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.LazyRole.addToPrincipalPolicy
(PolicyStatement statement) Adds a permission to the role's default policy document.PrincipalBase.addToPrincipalPolicy
(PolicyStatement _statement) Add to the policy of this principal.PrincipalWithConditions.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.Role.addToPrincipalPolicy
(PolicyStatement statement) Adds a permission to the role's default policy document.SessionTagsPrincipal.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.UnknownPrincipal.addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.User.addToPrincipalPolicy
(PolicyStatement statement) Adds an IAM statement to the default policy.IResourceWithPolicy.addToResourcePolicy
(PolicyStatement statement) Add a statement to the resource's resource policy.default AddToResourcePolicyResult
IResourceWithPolicy.Jsii$Default.addToResourcePolicy
(PolicyStatement statement) Add a statement to the resource's resource policy.IResourceWithPolicy.Jsii$Proxy.addToResourcePolicy
(PolicyStatement statement) Add a statement to the resource's resource policy.Modifier and TypeMethodDescriptionManagedPolicy.Builder.statements
(List<? extends PolicyStatement> statements) Initial set of permissions to add to this policy document.ManagedPolicyProps.Builder.statements
(List<? extends PolicyStatement> statements) Sets the value ofManagedPolicyProps.getStatements()
Policy.Builder.statements
(List<? extends PolicyStatement> statements) Initial set of permissions to add to this policy document.PolicyDocument.Builder.statements
(List<? extends PolicyStatement> statements) Initial statements to add to the policy document.PolicyDocumentProps.Builder.statements
(List<? extends PolicyStatement> statements) Sets the value ofPolicyDocumentProps.getStatements()
PolicyProps.Builder.statements
(List<? extends PolicyStatement> statements) Sets the value ofPolicyProps.getStatements()
-
Uses of PolicyStatement in software.amazon.awscdk.services.kinesisanalytics.flink.alpha
Modifier and TypeMethodDescriptionApplication.addToRolePolicy
(PolicyStatement policyStatement) (experimental) Implement the convenienceIApplication.addToPrincipalPolicy
method.IApplication.addToRolePolicy
(PolicyStatement policyStatement) (experimental) Convenience method for adding a policy statement to the application role.default Boolean
IApplication.Jsii$Default.addToRolePolicy
(PolicyStatement policyStatement) (experimental) Convenience method for adding a policy statement to the application role.final Boolean
IApplication.Jsii$Proxy.addToRolePolicy
(PolicyStatement policyStatement) (experimental) Convenience method for adding a policy statement to the application role. -
Uses of PolicyStatement in software.amazon.awscdk.services.kms
Modifier and TypeMethodDescriptionAlias.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the KMS key resource policy.Alias.addToResourcePolicy
(PolicyStatement statement, Boolean allowNoOp) Adds a statement to the KMS key resource policy.default AddToResourcePolicyResult
IAlias.Jsii$Default.addToResourcePolicy
(PolicyStatement statement, Boolean allowNoOp) Adds a statement to the KMS key resource policy.IAlias.Jsii$Proxy.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the KMS key resource policy.IAlias.Jsii$Proxy.addToResourcePolicy
(PolicyStatement statement, Boolean allowNoOp) Adds a statement to the KMS key resource policy.IKey.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the KMS key resource policy.IKey.addToResourcePolicy
(PolicyStatement statement, Boolean allowNoOp) Adds a statement to the KMS key resource policy.default AddToResourcePolicyResult
IKey.Jsii$Default.addToResourcePolicy
(PolicyStatement statement, Boolean allowNoOp) Adds a statement to the KMS key resource policy.IKey.Jsii$Proxy.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the KMS key resource policy.IKey.Jsii$Proxy.addToResourcePolicy
(PolicyStatement statement, Boolean allowNoOp) Adds a statement to the KMS key resource policy.Key.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the KMS key resource policy.Key.addToResourcePolicy
(PolicyStatement statement, Boolean allowNoOp) Adds a statement to the KMS key resource policy. -
Uses of PolicyStatement in software.amazon.awscdk.services.lambda
Modifier and TypeMethodDescriptionfinal List<PolicyStatement>
DockerImageFunctionProps.Jsii$Proxy.getInitialPolicy()
default List<PolicyStatement>
FunctionOptions.getInitialPolicy()
Initial policy statements to add to the created Lambda Role.final List<PolicyStatement>
FunctionOptions.Jsii$Proxy.getInitialPolicy()
final List<PolicyStatement>
FunctionProps.Jsii$Proxy.getInitialPolicy()
final List<PolicyStatement>
SingletonFunctionProps.Jsii$Proxy.getInitialPolicy()
default List<PolicyStatement>
FileSystemConfig.getPolicies()
additional IAM policies required for the lambda function.final List<PolicyStatement>
FileSystemConfig.Jsii$Proxy.getPolicies()
Modifier and TypeMethodDescriptionvoid
FunctionBase.addToRolePolicy
(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.default void
IAlias.Jsii$Default.addToRolePolicy
(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.final void
IAlias.Jsii$Proxy.addToRolePolicy
(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.void
IFunction.addToRolePolicy
(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.default void
IFunction.Jsii$Default.addToRolePolicy
(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.final void
IFunction.Jsii$Proxy.addToRolePolicy
(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.default void
IVersion.Jsii$Default.addToRolePolicy
(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.final void
IVersion.Jsii$Proxy.addToRolePolicy
(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.Modifier and TypeMethodDescriptionDockerImageFunction.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Initial policy statements to add to the created Lambda Role.DockerImageFunctionProps.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Sets the value ofFunctionOptions.getInitialPolicy()
Function.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Initial policy statements to add to the created Lambda Role.FunctionOptions.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Sets the value ofFunctionOptions.getInitialPolicy()
FunctionProps.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Sets the value ofFunctionOptions.getInitialPolicy()
SingletonFunction.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Initial policy statements to add to the created Lambda Role.SingletonFunctionProps.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Sets the value ofFunctionOptions.getInitialPolicy()
FileSystemConfig.Builder.policies
(List<? extends PolicyStatement> policies) Sets the value ofFileSystemConfig.getPolicies()
-
Uses of PolicyStatement in software.amazon.awscdk.services.lambda.go.alpha
Modifier and TypeMethodDescriptionfinal List<PolicyStatement>
GoFunctionProps.Jsii$Proxy.getInitialPolicy()
Modifier and TypeMethodDescriptionGoFunction.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Initial policy statements to add to the created Lambda Role.GoFunctionProps.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Sets the value ofFunctionOptions.getInitialPolicy()
-
Uses of PolicyStatement in software.amazon.awscdk.services.lambda.nodejs
Modifier and TypeMethodDescriptionfinal List<PolicyStatement>
NodejsFunctionProps.Jsii$Proxy.getInitialPolicy()
Modifier and TypeMethodDescriptionNodejsFunction.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Initial policy statements to add to the created Lambda Role.NodejsFunctionProps.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Sets the value ofFunctionOptions.getInitialPolicy()
-
Uses of PolicyStatement in software.amazon.awscdk.services.lambda.python.alpha
Modifier and TypeMethodDescriptionfinal List<PolicyStatement>
PythonFunctionProps.Jsii$Proxy.getInitialPolicy()
Modifier and TypeMethodDescriptionPythonFunction.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Initial policy statements to add to the created Lambda Role.PythonFunctionProps.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Sets the value ofFunctionOptions.getInitialPolicy()
-
Uses of PolicyStatement in software.amazon.awscdk.services.logs
Modifier and TypeMethodDescriptiondefault List<PolicyStatement>
ResourcePolicyProps.getPolicyStatements()
Initial statements to add to the resource policy.final List<PolicyStatement>
ResourcePolicyProps.Jsii$Proxy.getPolicyStatements()
Modifier and TypeMethodDescriptionvoid
CrossAccountDestination.addToPolicy
(PolicyStatement statement) default AddToResourcePolicyResult
ILogGroup.Jsii$Default.addToResourcePolicy
(PolicyStatement statement) Add a statement to the resource's resource policy.ILogGroup.Jsii$Proxy.addToResourcePolicy
(PolicyStatement statement) Add a statement to the resource's resource policy.LogGroup.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the resource policy associated with this log group.Modifier and TypeMethodDescriptionResourcePolicy.Builder.policyStatements
(List<? extends PolicyStatement> policyStatements) Initial statements to add to the resource policy.ResourcePolicyProps.Builder.policyStatements
(List<? extends PolicyStatement> policyStatements) Sets the value ofResourcePolicyProps.getPolicyStatements()
-
Uses of PolicyStatement in software.amazon.awscdk.services.opensearchservice
Modifier and TypeMethodDescriptiondefault List<PolicyStatement>
DomainProps.getAccessPolicies()
Domain access policies.final List<PolicyStatement>
DomainProps.Jsii$Proxy.getAccessPolicies()
Modifier and TypeMethodDescriptionvoid
Domain.addAccessPolicies
(@NotNull PolicyStatement... accessPolicyStatements) Add policy statements to the domain access policy.Modifier and TypeMethodDescriptionDomain.Builder.accessPolicies
(List<? extends PolicyStatement> accessPolicies) Domain access policies.DomainProps.Builder.accessPolicies
(List<? extends PolicyStatement> accessPolicies) Sets the value ofDomainProps.getAccessPolicies()
-
Uses of PolicyStatement in software.amazon.awscdk.services.s3
Modifier and TypeMethodDescriptionBucketBase.addToResourcePolicy
(PolicyStatement permission) Adds a statement to the resource policy for a principal (i.e.IBucket.addToResourcePolicy
(PolicyStatement permission) Adds a statement to the resource policy for a principal (i.e.default AddToResourcePolicyResult
IBucket.Jsii$Default.addToResourcePolicy
(PolicyStatement permission) Adds a statement to the resource policy for a principal (i.e.IBucket.Jsii$Proxy.addToResourcePolicy
(PolicyStatement permission) Adds a statement to the resource policy for a principal (i.e. -
Uses of PolicyStatement in software.amazon.awscdk.services.sagemaker.alpha
Modifier and TypeMethodDescriptionvoid
IModel.addToRolePolicy
(PolicyStatement statement) (experimental) Adds a statement to the IAM role assumed by the instance.default void
IModel.Jsii$Default.addToRolePolicy
(PolicyStatement statement) (experimental) Adds a statement to the IAM role assumed by the instance.final void
IModel.Jsii$Proxy.addToRolePolicy
(PolicyStatement statement) (experimental) Adds a statement to the IAM role assumed by the instance.void
Model.addToRolePolicy
(PolicyStatement statement) (experimental) Adds a statement to the IAM role assumed by the instance. -
Uses of PolicyStatement in software.amazon.awscdk.services.secretsmanager
Modifier and TypeMethodDescriptionISecret.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this secret.default AddToResourcePolicyResult
ISecret.Jsii$Default.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this secret.ISecret.Jsii$Proxy.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this secret.default AddToResourcePolicyResult
ISecretTargetAttachment.Jsii$Default.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this secret.ISecretTargetAttachment.Jsii$Proxy.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this secret.Secret.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this secret.SecretTargetAttachment.addToResourcePolicy
(PolicyStatement statement) Forward any additions to the resource policy to the original secret. -
Uses of PolicyStatement in software.amazon.awscdk.services.sns
Modifier and TypeMethodDescriptionprotected PolicyStatement
TopicBase.createSSLPolicyDocument()
Adds a statement to enforce encryption of data in transit when publishing to the topic.protected PolicyStatement
TopicPolicy.createSSLPolicyDocument
(String topicArn) Adds a statement to enforce encryption of data in transit when publishing to the topic.Modifier and TypeMethodDescriptionITopic.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this topic.default AddToResourcePolicyResult
ITopic.Jsii$Default.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this topic.ITopic.Jsii$Proxy.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this topic.TopicBase.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this topic. -
Uses of PolicyStatement in software.amazon.awscdk.services.sqs
Modifier and TypeMethodDescriptionIQueue.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this queue.default AddToResourcePolicyResult
IQueue.Jsii$Default.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this queue.IQueue.Jsii$Proxy.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this queue.QueueBase.addToResourcePolicy
(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this queue. -
Uses of PolicyStatement in software.amazon.awscdk.services.stepfunctions
Modifier and TypeMethodDescriptionStateGraph.getPolicyStatements()
The accumulated policy statements.protected abstract List<PolicyStatement>
TaskStateBase.getTaskPolicies()
default List<PolicyStatement>
IItemReader.Jsii$Default.providePolicyStatements()
Compile policy statements to provide relevent permissions to the state machine.final List<PolicyStatement>
IItemReader.Jsii$Proxy.providePolicyStatements()
Compile policy statements to provide relevent permissions to the state machine.IItemReader.providePolicyStatements()
Compile policy statements to provide relevent permissions to the state machine.ResultWriter.providePolicyStatements()
Compile policy statements to provide relevent permissions to the state machine.S3CsvItemReader.providePolicyStatements()
Compile policy statements to provide relevent permissions to the state machine.S3JsonItemReader.providePolicyStatements()
Compile policy statements to provide relevent permissions to the state machine.S3ManifestItemReader.providePolicyStatements()
Compile policy statements to provide relevent permissions to the state machine.S3ObjectsItemReader.providePolicyStatements()
Compile policy statements to provide relevent permissions to the state machine.Modifier and TypeMethodDescriptionvoid
StateMachine.addToRolePolicy
(PolicyStatement statement) Add the given statement to the role's policy.void
StateGraph.registerPolicyStatement
(PolicyStatement statement) Register a Policy Statement used by states in this graph. -
Uses of PolicyStatement in software.amazon.awscdk.services.stepfunctions.tasks
Modifier and TypeMethodDescriptionprotected List<PolicyStatement>
HttpInvoke.buildTaskPolicyStatements()
protected List<PolicyStatement>
CallApiGatewayHttpApiEndpoint.createPolicyStatements()
protected List<PolicyStatement>
CallApiGatewayRestApiEndpoint.createPolicyStatements()
default List<PolicyStatement>
CallAwsServiceCrossRegionProps.getAdditionalIamStatements()
Additional IAM statements that will be added to the state machine role's policy.final List<PolicyStatement>
CallAwsServiceCrossRegionProps.Jsii$Proxy.getAdditionalIamStatements()
default List<PolicyStatement>
CallAwsServiceProps.getAdditionalIamStatements()
Additional IAM statements that will be added to the state machine role's policy.final List<PolicyStatement>
CallAwsServiceProps.Jsii$Proxy.getAdditionalIamStatements()
protected List<PolicyStatement>
AthenaGetQueryExecution.getTaskPolicies()
protected List<PolicyStatement>
AthenaGetQueryResults.getTaskPolicies()
protected List<PolicyStatement>
AthenaStartQueryExecution.getTaskPolicies()
protected List<PolicyStatement>
AthenaStopQueryExecution.getTaskPolicies()
protected List<PolicyStatement>
BatchSubmitJob.getTaskPolicies()
protected List<PolicyStatement>
BedrockInvokeModel.getTaskPolicies()
protected List<PolicyStatement>
CallApiGatewayHttpApiEndpoint.getTaskPolicies()
protected List<PolicyStatement>
CallApiGatewayRestApiEndpoint.getTaskPolicies()
protected List<PolicyStatement>
CallAwsService.getTaskPolicies()
protected List<PolicyStatement>
CallAwsServiceCrossRegion.getTaskPolicies()
protected List<PolicyStatement>
CodeBuildStartBuild.getTaskPolicies()
protected List<PolicyStatement>
CodeBuildStartBuildBatch.getTaskPolicies()
protected List<PolicyStatement>
DynamoDeleteItem.getTaskPolicies()
protected List<PolicyStatement>
DynamoGetItem.getTaskPolicies()
protected List<PolicyStatement>
DynamoPutItem.getTaskPolicies()
protected List<PolicyStatement>
DynamoUpdateItem.getTaskPolicies()
protected List<PolicyStatement>
EcsRunTask.getTaskPolicies()
protected List<PolicyStatement>
EksCall.getTaskPolicies()
protected List<PolicyStatement>
EmrAddStep.getTaskPolicies()
protected List<PolicyStatement>
EmrCancelStep.getTaskPolicies()
protected List<PolicyStatement>
EmrContainersCreateVirtualCluster.getTaskPolicies()
protected List<PolicyStatement>
EmrContainersDeleteVirtualCluster.getTaskPolicies()
protected List<PolicyStatement>
EmrContainersStartJobRun.getTaskPolicies()
protected List<PolicyStatement>
EmrCreateCluster.getTaskPolicies()
protected List<PolicyStatement>
EmrModifyInstanceFleetByName.getTaskPolicies()
protected List<PolicyStatement>
EmrModifyInstanceGroupByName.getTaskPolicies()
protected List<PolicyStatement>
EmrSetClusterTerminationProtection.getTaskPolicies()
protected List<PolicyStatement>
EmrTerminateCluster.getTaskPolicies()
protected List<PolicyStatement>
EvaluateExpression.getTaskPolicies()
protected List<PolicyStatement>
EventBridgePutEvents.getTaskPolicies()
protected List<PolicyStatement>
GlueDataBrewStartJobRun.getTaskPolicies()
protected List<PolicyStatement>
GlueStartCrawlerRun.getTaskPolicies()
protected List<PolicyStatement>
GlueStartJobRun.getTaskPolicies()
protected List<PolicyStatement>
HttpInvoke.getTaskPolicies()
protected List<PolicyStatement>
LambdaInvoke.getTaskPolicies()
protected List<PolicyStatement>
MediaConvertCreateJob.getTaskPolicies()
protected List<PolicyStatement>
SageMakerCreateEndpoint.getTaskPolicies()
protected List<PolicyStatement>
SageMakerCreateEndpointConfig.getTaskPolicies()
protected List<PolicyStatement>
SageMakerCreateModel.getTaskPolicies()
protected List<PolicyStatement>
SageMakerCreateTrainingJob.getTaskPolicies()
protected List<PolicyStatement>
SageMakerCreateTransformJob.getTaskPolicies()
protected List<PolicyStatement>
SageMakerUpdateEndpoint.getTaskPolicies()
protected List<PolicyStatement>
SnsPublish.getTaskPolicies()
protected List<PolicyStatement>
SqsSendMessage.getTaskPolicies()
protected List<PolicyStatement>
StepFunctionsInvokeActivity.getTaskPolicies()
protected List<PolicyStatement>
StepFunctionsStartExecution.getTaskPolicies()
Modifier and TypeMethodDescriptionCallAwsService.Builder.additionalIamStatements
(List<? extends PolicyStatement> additionalIamStatements) Additional IAM statements that will be added to the state machine role's policy.CallAwsServiceCrossRegion.Builder.additionalIamStatements
(List<? extends PolicyStatement> additionalIamStatements) Additional IAM statements that will be added to the state machine role's policy.CallAwsServiceCrossRegionProps.Builder.additionalIamStatements
(List<? extends PolicyStatement> additionalIamStatements) Sets the value ofCallAwsServiceCrossRegionProps.getAdditionalIamStatements()
CallAwsServiceProps.Builder.additionalIamStatements
(List<? extends PolicyStatement> additionalIamStatements) Sets the value ofCallAwsServiceProps.getAdditionalIamStatements()
-
Uses of PolicyStatement in software.amazon.awscdk.triggers
Modifier and TypeMethodDescriptionfinal List<PolicyStatement>
TriggerFunctionProps.Jsii$Proxy.getInitialPolicy()
Modifier and TypeMethodDescriptionTriggerFunction.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Initial policy statements to add to the created Lambda Role.TriggerFunctionProps.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Sets the value ofFunctionOptions.getInitialPolicy()