Uses of Class
software.amazon.awscdk.services.iam.PolicyStatement
Packages that use PolicyStatement
Package
Description
AWS CDK Custom Resources
CDK Pipelines
Amazon API Gateway Construct Library
AWS Auto Scaling Construct Library
AWS::AppRunner Construct Library
Amazon EC2 Auto Scaling Construct Library
AWS Backup Construct Library
Amazon Bedrock AgentCore 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 EKS V2 Construct Library
Amazon OpenSearch Service Construct Library
Amazon EventBridge Construct Library
Event Targets for Amazon EventBridge
AWS Identity and Access Management Construct Library
Amazon Kinesis 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 S3 Tables Construct Library
Amazon SageMaker Construct Library
Amazon EventBridge Scheduler Targets 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
Methods in software.amazon.awscdk.customresources that return types with arguments of type PolicyStatementModifier and TypeMethodDescriptionAwsCustomResourcePolicy.getStatements()statements for explicit policy.Method parameters in software.amazon.awscdk.customresources with type arguments of type PolicyStatementModifier and TypeMethodDescriptionstatic AwsCustomResourcePolicyAwsCustomResourcePolicy.fromStatements(List<? extends PolicyStatement> statements) Explicit IAM Policy Statements. -
Uses of PolicyStatement in software.amazon.awscdk.pipelines
Methods in software.amazon.awscdk.pipelines that return types with arguments of type PolicyStatementModifier 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()Method parameters in software.amazon.awscdk.pipelines with type arguments of type PolicyStatementModifier 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.apigateway
Methods in software.amazon.awscdk.services.apigateway with parameters of type PolicyStatementModifier and TypeMethodDescriptionRestApi.addToResourcePolicy(PolicyStatement statement) Adds a statement to the resource policy associated with this rest api.abstract AddToResourcePolicyResultRestApiBase.addToResourcePolicy(PolicyStatement statement) Add a statement to the resource's resource policy.SpecRestApi.addToResourcePolicy(PolicyStatement statement) Adds a statement to the resource policy associated with this rest api. -
Uses of PolicyStatement in software.amazon.awscdk.services.applicationautoscaling
Methods in software.amazon.awscdk.services.applicationautoscaling with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidScalableTarget.addToRolePolicy(PolicyStatement statement) Add a policy statement to the role's policy. -
Uses of PolicyStatement in software.amazon.awscdk.services.apprunner.alpha
Methods in software.amazon.awscdk.services.apprunner.alpha with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidService.addToRolePolicy(PolicyStatement statement) (experimental) Adds a statement to the instance role. -
Uses of PolicyStatement in software.amazon.awscdk.services.autoscaling
Methods in software.amazon.awscdk.services.autoscaling with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidAutoScalingGroup.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
Methods in software.amazon.awscdk.services.backup with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidBackupVault.addToAccessPolicy(PolicyStatement statement) Adds a statement to the vault access policy. -
Uses of PolicyStatement in software.amazon.awscdk.services.bedrock.agentcore.alpha
Methods in software.amazon.awscdk.services.bedrock.agentcore.alpha with parameters of type PolicyStatementModifier and TypeMethodDescriptionIBedrockAgentRuntime.addToRolePolicy(PolicyStatement statement) (experimental) Adds a policy statement to the runtime's execution role.default IBedrockAgentRuntimeIBedrockAgentRuntime.Jsii$Default.addToRolePolicy(PolicyStatement statement) (experimental) Adds a policy statement to the runtime's execution role.final IBedrockAgentRuntimeIBedrockAgentRuntime.Jsii$Proxy.addToRolePolicy(PolicyStatement statement) (experimental) Adds a policy statement to the runtime's execution role.RuntimeBase.addToRolePolicy(PolicyStatement statement) (experimental) Adds a policy statement to the runtime's execution role. -
Uses of PolicyStatement in software.amazon.awscdk.services.chatbot
Methods in software.amazon.awscdk.services.chatbot with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidISlackChannelConfiguration.addToRolePolicy(PolicyStatement statement) Adds a statement to the IAM role.default voidISlackChannelConfiguration.Jsii$Default.addToRolePolicy(PolicyStatement statement) Adds a statement to the IAM role.final voidISlackChannelConfiguration.Jsii$Proxy.addToRolePolicy(PolicyStatement statement) Adds a statement to the IAM role.voidSlackChannelConfiguration.addToRolePolicy(PolicyStatement statement) Adds extra permission to iam-role of Slack channel configuration. -
Uses of PolicyStatement in software.amazon.awscdk.services.cloudfront.experimental
Methods in software.amazon.awscdk.services.cloudfront.experimental that return types with arguments of type PolicyStatementModifier and TypeMethodDescriptionfinal List<PolicyStatement> EdgeFunctionProps.Jsii$Proxy.getInitialPolicy()Methods in software.amazon.awscdk.services.cloudfront.experimental with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidEdgeFunction.addToRolePolicy(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.Method parameters in software.amazon.awscdk.services.cloudfront.experimental with type arguments of type PolicyStatementModifier 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
Methods in software.amazon.awscdk.services.codebuild that return types with arguments of type PolicyStatementModifier and TypeMethodDescriptiondefault List<PolicyStatement> UntrustedCodeBoundaryPolicyProps.getAdditionalStatements()Additional statements to add to the default set of statements.final List<PolicyStatement> UntrustedCodeBoundaryPolicyProps.Jsii$Proxy.getAdditionalStatements()Methods in software.amazon.awscdk.services.codebuild with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidIProject.addToRolePolicy(PolicyStatement policyStatement) default voidIProject.Jsii$Default.addToRolePolicy(PolicyStatement policyStatement) final voidIProject.Jsii$Proxy.addToRolePolicy(PolicyStatement policyStatement) voidProject.addToRolePolicy(PolicyStatement statement) Add a permission only if there's a policy attached.Method parameters in software.amazon.awscdk.services.codebuild with type arguments of type PolicyStatementModifier 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
Methods in software.amazon.awscdk.services.codepipeline with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidPipeline.addToRolePolicy(PolicyStatement statement) Adds a statement to the pipeline role. -
Uses of PolicyStatement in software.amazon.awscdk.services.codepipeline.actions
Methods in software.amazon.awscdk.services.codepipeline.actions with parameters of type PolicyStatementModifier 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
Methods in software.amazon.awscdk.services.dynamodb with parameters of type PolicyStatementModifier and TypeMethodDescriptionTable.addToResourcePolicy(PolicyStatement statement) Adds a statement to the resource policy associated with this table.abstract AddToResourcePolicyResultTableBase.addToResourcePolicy(PolicyStatement statement) Adds a statement to the resource policy associated with this table.abstract AddToResourcePolicyResultTableBaseV2.addToResourcePolicy(PolicyStatement statement) Adds a statement to the resource policy associated with this table.TableV2.addToResourcePolicy(PolicyStatement statement) Adds a statement to the resource policy associated with this table. -
Uses of PolicyStatement in software.amazon.awscdk.services.ec2
Methods in software.amazon.awscdk.services.ec2 with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidVpcEndpoint.addToPolicy(PolicyStatement statement) Adds a statement to the policy document of the VPC endpoint.voidInstance.addToRolePolicy(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance. -
Uses of PolicyStatement in software.amazon.awscdk.services.ecr
Methods in software.amazon.awscdk.services.ecr with parameters of type PolicyStatementModifier and TypeMethodDescriptionIRepository.addToResourcePolicy(PolicyStatement statement) Add a policy statement to the repository's resource policy.default AddToResourcePolicyResultIRepository.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 AddToResourcePolicyResultRepositoryBase.addToResourcePolicy(PolicyStatement statement) Add a policy statement to the repository's resource policy. -
Uses of PolicyStatement in software.amazon.awscdk.services.ecs
Methods in software.amazon.awscdk.services.ecs with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidContainerDefinition.addToExecutionPolicy(PolicyStatement statement) This method adds the specified statement to the IAM task execution policy in the task definition.voidTaskDefinition.addToExecutionRolePolicy(PolicyStatement statement) Adds a policy statement to the task execution IAM role.voidTaskDefinition.addToTaskRolePolicy(PolicyStatement statement) Adds a policy statement to the task IAM role. -
Uses of PolicyStatement in software.amazon.awscdk.services.efs
Methods in software.amazon.awscdk.services.efs with parameters of type PolicyStatementModifier and TypeMethodDescriptionFileSystem.addToResourcePolicy(PolicyStatement statement) Adds a statement to the resource policy associated with this file system.default AddToResourcePolicyResultIFileSystem.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
Methods in software.amazon.awscdk.services.eks with parameters of type PolicyStatementModifier and TypeMethodDescriptionServiceAccount.addToPrincipalPolicy(PolicyStatement statement) Add to the policy of this principal. -
Uses of PolicyStatement in software.amazon.awscdk.services.eks.v2.alpha
Methods in software.amazon.awscdk.services.eks.v2.alpha with parameters of type PolicyStatementModifier and TypeMethodDescriptionServiceAccount.addToPolicy(PolicyStatement statement) Deprecated.ServiceAccount.addToPrincipalPolicy(PolicyStatement statement) (experimental) Add to the policy of this principal. -
Uses of PolicyStatement in software.amazon.awscdk.services.elasticsearch
Methods in software.amazon.awscdk.services.elasticsearch that return types with arguments of type PolicyStatementModifier and TypeMethodDescriptiondefault List<PolicyStatement> DomainProps.getAccessPolicies()Deprecated.use opensearchservice module insteadfinal List<PolicyStatement> DomainProps.Jsii$Proxy.getAccessPolicies()Deprecated.Methods in software.amazon.awscdk.services.elasticsearch with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidDomain.addAccessPolicies(PolicyStatement... accessPolicyStatements) Deprecated.use opensearchservice module insteadMethod parameters in software.amazon.awscdk.services.elasticsearch with type arguments of type PolicyStatementModifier 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
Methods in software.amazon.awscdk.services.events that return PolicyStatementModifier and TypeMethodDescriptionEventBusPolicyProps.getStatement()An IAM Policy Statement to apply to the Event Bus.final PolicyStatementEventBusPolicyProps.Jsii$Proxy.getStatement()Methods in software.amazon.awscdk.services.events with parameters of type PolicyStatementModifier 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
Methods in software.amazon.awscdk.services.events.targets that return PolicyStatementModifier and TypeMethodDescriptiondefault PolicyStatementAwsApiProps.getPolicyStatement()The IAM policy statement to allow the API call.final PolicyStatementAwsApiProps.Jsii$Proxy.getPolicyStatement()Methods in software.amazon.awscdk.services.events.targets with parameters of type PolicyStatementModifier 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
Methods in software.amazon.awscdk.services.iam that return PolicyStatementModifier and TypeMethodDescriptionPolicyStatement.Builder.build()PolicyStatement.copy()Create a newPolicyStatementwith the same exact properties as this one, except for the overrides.PolicyStatement.copy(PolicyStatementProps overrides) Create a newPolicyStatementwith the same exact properties as this one, except for the overrides.PolicyStatement.freeze()Make the PolicyStatement immutable.static PolicyStatementCreates a new PolicyStatement based on the object provided.Grant.getPrincipalStatement()Deprecated.UseprincipalStatementsinsteadGrant.getResourceStatement()Deprecated.UseresourceStatementsinsteadGrantPolicyWithResourceOptions.getStatement()The policy statement to add to the resource's policy.final PolicyStatementGrantPolicyWithResourceOptions.Jsii$Proxy.getStatement()Methods in software.amazon.awscdk.services.iam that return types with arguments of type PolicyStatementModifier and TypeMethodDescriptionGrant.getPrincipalStatements()The statements that were added to the principal's policy.Grant.getResourceStatements()The statements that were added to the resource 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()Methods in software.amazon.awscdk.services.iam with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidManagedPolicy.addStatements(PolicyStatement... statement) Adds a statement to the policy document.voidPolicy.addStatements(PolicyStatement... statement) Adds a statement to the policy document.voidPolicyDocument.addStatements(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 AddToPrincipalPolicyResultIAssumeRolePrincipal.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 AddToPrincipalPolicyResultIComparablePrincipal.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 AddToPrincipalPolicyResultIGroup.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 AddToPrincipalPolicyResultIIdentity.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 AddToPrincipalPolicyResultIPrincipal.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 AddToPrincipalPolicyResultIRole.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 AddToPrincipalPolicyResultIUser.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.default AddToResourcePolicyResultIResourceWithPolicy.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.IResourceWithPolicyV2.addToResourcePolicy(PolicyStatement statement) Add a statement to the resource's resource policy.default AddToResourcePolicyResultIResourceWithPolicyV2.Jsii$Default.addToResourcePolicy(PolicyStatement statement) Add a statement to the resource's resource policy.IResourceWithPolicyV2.Jsii$Proxy.addToResourcePolicy(PolicyStatement statement) Add a statement to the resource's resource policy.GrantPolicyWithResourceOptions.Builder.statement(PolicyStatement statement) Sets the value ofGrantPolicyWithResourceOptions.getStatement()Method parameters in software.amazon.awscdk.services.iam with type arguments of type PolicyStatementModifier 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.kinesis
Methods in software.amazon.awscdk.services.kinesis with parameters of type PolicyStatementModifier and TypeMethodDescriptionIStream.addToResourcePolicy(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this stream.default AddToResourcePolicyResultIStream.Jsii$Default.addToResourcePolicy(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this stream.IStream.Jsii$Proxy.addToResourcePolicy(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this stream.IStreamConsumer.addToResourcePolicy(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this stream consumer.default AddToResourcePolicyResultIStreamConsumer.Jsii$Default.addToResourcePolicy(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this stream consumer.IStreamConsumer.Jsii$Proxy.addToResourcePolicy(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this stream consumer.Stream.addToResourcePolicy(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this stream.StreamConsumer.addToResourcePolicy(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this stream consumer. -
Uses of PolicyStatement in software.amazon.awscdk.services.kinesisanalytics.flink.alpha
Methods in software.amazon.awscdk.services.kinesisanalytics.flink.alpha with parameters of type PolicyStatementModifier and TypeMethodDescriptionApplication.addToRolePolicy(PolicyStatement policyStatement) (experimental) Implement the convenienceIApplication.addToPrincipalPolicymethod.IApplication.addToRolePolicy(PolicyStatement policyStatement) (experimental) Convenience method for adding a policy statement to the application role.default BooleanIApplication.Jsii$Default.addToRolePolicy(PolicyStatement policyStatement) (experimental) Convenience method for adding a policy statement to the application role.final BooleanIApplication.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
Methods in software.amazon.awscdk.services.kms with parameters of type PolicyStatementModifier 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 AddToResourcePolicyResultIAlias.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 AddToResourcePolicyResultIKey.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
Methods in software.amazon.awscdk.services.lambda that return types with arguments of type PolicyStatementModifier 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()Methods in software.amazon.awscdk.services.lambda with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidFunctionBase.addToRolePolicy(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.default voidIAlias.Jsii$Default.addToRolePolicy(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.final voidIAlias.Jsii$Proxy.addToRolePolicy(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.voidIFunction.addToRolePolicy(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.default voidIFunction.Jsii$Default.addToRolePolicy(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.final voidIFunction.Jsii$Proxy.addToRolePolicy(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.default voidIVersion.Jsii$Default.addToRolePolicy(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.final voidIVersion.Jsii$Proxy.addToRolePolicy(PolicyStatement statement) Adds a statement to the IAM role assumed by the instance.Method parameters in software.amazon.awscdk.services.lambda with type arguments of type PolicyStatementModifier 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
Methods in software.amazon.awscdk.services.lambda.go.alpha that return types with arguments of type PolicyStatementModifier and TypeMethodDescriptionfinal List<PolicyStatement> GoFunctionProps.Jsii$Proxy.getInitialPolicy()Method parameters in software.amazon.awscdk.services.lambda.go.alpha with type arguments of type PolicyStatementModifier 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
Methods in software.amazon.awscdk.services.lambda.nodejs that return types with arguments of type PolicyStatementModifier and TypeMethodDescriptionfinal List<PolicyStatement> NodejsFunctionProps.Jsii$Proxy.getInitialPolicy()Method parameters in software.amazon.awscdk.services.lambda.nodejs with type arguments of type PolicyStatementModifier 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
Methods in software.amazon.awscdk.services.lambda.python.alpha that return types with arguments of type PolicyStatementModifier and TypeMethodDescriptionfinal List<PolicyStatement> PythonFunctionProps.Jsii$Proxy.getInitialPolicy()Method parameters in software.amazon.awscdk.services.lambda.python.alpha with type arguments of type PolicyStatementModifier 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
Methods in software.amazon.awscdk.services.logs that return types with arguments of type PolicyStatementModifier and TypeMethodDescriptiondefault List<PolicyStatement> ResourcePolicyProps.getPolicyStatements()Initial statements to add to the resource policy.final List<PolicyStatement> ResourcePolicyProps.Jsii$Proxy.getPolicyStatements()Methods in software.amazon.awscdk.services.logs with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidCrossAccountDestination.addToPolicy(PolicyStatement statement) default AddToResourcePolicyResultILogGroup.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.Method parameters in software.amazon.awscdk.services.logs with type arguments of type PolicyStatementModifier 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
Methods in software.amazon.awscdk.services.opensearchservice that return types with arguments of type PolicyStatementModifier and TypeMethodDescriptiondefault List<PolicyStatement> DomainProps.getAccessPolicies()Domain access policies.final List<PolicyStatement> DomainProps.Jsii$Proxy.getAccessPolicies()Methods in software.amazon.awscdk.services.opensearchservice with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidDomain.addAccessPolicies(PolicyStatement... accessPolicyStatements) Add policy statements to the domain access policy.Method parameters in software.amazon.awscdk.services.opensearchservice with type arguments of type PolicyStatementModifier 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
Methods in software.amazon.awscdk.services.s3 with parameters of type PolicyStatementModifier 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 AddToResourcePolicyResultIBucket.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.s3tables.alpha
Methods in software.amazon.awscdk.services.s3tables.alpha with parameters of type PolicyStatementModifier and TypeMethodDescriptionITable.addToResourcePolicy(PolicyStatement statement) (experimental) Adds a statement to the resource policy for a principal (i.e.default AddToResourcePolicyResultITable.Jsii$Default.addToResourcePolicy(PolicyStatement statement) (experimental) Adds a statement to the resource policy for a principal (i.e.ITable.Jsii$Proxy.addToResourcePolicy(PolicyStatement statement) (experimental) Adds a statement to the resource policy for a principal (i.e.ITableBucket.addToResourcePolicy(PolicyStatement statement) (experimental) Adds a statement to the resource policy for a principal (i.e.default AddToResourcePolicyResultITableBucket.Jsii$Default.addToResourcePolicy(PolicyStatement statement) (experimental) Adds a statement to the resource policy for a principal (i.e.ITableBucket.Jsii$Proxy.addToResourcePolicy(PolicyStatement statement) (experimental) Adds a statement to the resource policy for a principal (i.e.Table.addToResourcePolicy(PolicyStatement statement) (experimental) Adds a statement to the resource policy for a principal (i.e.TableBucket.addToResourcePolicy(PolicyStatement statement) (experimental) Adds a statement to the resource policy for a principal (i.e. -
Uses of PolicyStatement in software.amazon.awscdk.services.sagemaker.alpha
Methods in software.amazon.awscdk.services.sagemaker.alpha with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidIModel.addToRolePolicy(PolicyStatement statement) (experimental) Adds a statement to the IAM role assumed by the instance.default voidIModel.Jsii$Default.addToRolePolicy(PolicyStatement statement) (experimental) Adds a statement to the IAM role assumed by the instance.final voidIModel.Jsii$Proxy.addToRolePolicy(PolicyStatement statement) (experimental) Adds a statement to the IAM role assumed by the instance.voidModel.addToRolePolicy(PolicyStatement statement) (experimental) Adds a statement to the IAM role assumed by the instance. -
Uses of PolicyStatement in software.amazon.awscdk.services.scheduler.targets
Methods in software.amazon.awscdk.services.scheduler.targets that return types with arguments of type PolicyStatementModifier and TypeMethodDescriptiondefault List<PolicyStatement> UniversalTargetProps.getPolicyStatements()The IAM policy statements needed to invoke the target.final List<PolicyStatement> UniversalTargetProps.Jsii$Proxy.getPolicyStatements()Method parameters in software.amazon.awscdk.services.scheduler.targets with type arguments of type PolicyStatementModifier and TypeMethodDescriptionUniversal.Builder.policyStatements(List<? extends PolicyStatement> policyStatements) The IAM policy statements needed to invoke the target.UniversalTargetProps.Builder.policyStatements(List<? extends PolicyStatement> policyStatements) Sets the value ofUniversalTargetProps.getPolicyStatements() -
Uses of PolicyStatement in software.amazon.awscdk.services.secretsmanager
Methods in software.amazon.awscdk.services.secretsmanager with parameters of type PolicyStatementModifier and TypeMethodDescriptionISecret.addToResourcePolicy(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this secret.default AddToResourcePolicyResultISecret.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 AddToResourcePolicyResultISecretTargetAttachment.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
Methods in software.amazon.awscdk.services.sns that return PolicyStatementModifier and TypeMethodDescriptionprotected PolicyStatementTopicBase.createSSLPolicyDocument()Adds a statement to enforce encryption of data in transit when publishing to the topic.protected PolicyStatementTopicPolicy.createSSLPolicyDocument(String topicArn) Adds a statement to enforce encryption of data in transit when publishing to the topic.Methods in software.amazon.awscdk.services.sns with parameters of type PolicyStatementModifier and TypeMethodDescriptionITopic.addToResourcePolicy(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this topic.default AddToResourcePolicyResultITopic.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
Methods in software.amazon.awscdk.services.sqs with parameters of type PolicyStatementModifier and TypeMethodDescriptionIQueue.addToResourcePolicy(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this queue.default AddToResourcePolicyResultIQueue.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
Methods in software.amazon.awscdk.services.stepfunctions that return types with arguments of type PolicyStatementModifier 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()Deprecated.ResultWriterV2.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.S3JsonLItemReader.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.Methods in software.amazon.awscdk.services.stepfunctions with parameters of type PolicyStatementModifier and TypeMethodDescriptionvoidStateMachine.addToRolePolicy(PolicyStatement statement) Add the given statement to the role's policy.voidStateGraph.registerPolicyStatement(PolicyStatement statement) Register a Policy Statement used by states in this graph. -
Uses of PolicyStatement in software.amazon.awscdk.services.stepfunctions.tasks
Methods in software.amazon.awscdk.services.stepfunctions.tasks that return types with arguments of type PolicyStatementModifier and TypeMethodDescriptionprotected List<PolicyStatement> HttpInvoke.buildTaskPolicyStatements()protected List<PolicyStatement> CallApiGatewayHttpApiEndpoint.createPolicyStatements()protected List<PolicyStatement> CallApiGatewayRestApiEndpoint.createPolicyStatements()default List<PolicyStatement> CallAwsServiceCrossRegionJsonataProps.getAdditionalIamStatements()Additional IAM statements that will be added to the state machine role's policy.final List<PolicyStatement> CallAwsServiceCrossRegionJsonataProps.Jsii$Proxy.getAdditionalIamStatements()default List<PolicyStatement> CallAwsServiceCrossRegionJsonPathProps.getAdditionalIamStatements()Additional IAM statements that will be added to the state machine role's policy.final List<PolicyStatement> CallAwsServiceCrossRegionJsonPathProps.Jsii$Proxy.getAdditionalIamStatements()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> CallAwsServiceJsonataProps.getAdditionalIamStatements()Additional IAM statements that will be added to the state machine role's policy.final List<PolicyStatement> CallAwsServiceJsonataProps.Jsii$Proxy.getAdditionalIamStatements()default List<PolicyStatement> CallAwsServiceJsonPathProps.getAdditionalIamStatements()Additional IAM statements that will be added to the state machine role's policy.final List<PolicyStatement> CallAwsServiceJsonPathProps.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> BedrockCreateModelCustomizationJob.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> EventBridgeSchedulerCreateScheduleTask.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()Method parameters in software.amazon.awscdk.services.stepfunctions.tasks with type arguments of type PolicyStatementModifier 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.CallAwsServiceCrossRegionJsonataProps.Builder.additionalIamStatements(List<? extends PolicyStatement> additionalIamStatements) Sets the value ofCallAwsServiceCrossRegionJsonataProps.getAdditionalIamStatements()CallAwsServiceCrossRegionJsonPathProps.Builder.additionalIamStatements(List<? extends PolicyStatement> additionalIamStatements) Sets the value ofCallAwsServiceCrossRegionJsonPathProps.getAdditionalIamStatements()CallAwsServiceCrossRegionProps.Builder.additionalIamStatements(List<? extends PolicyStatement> additionalIamStatements) Sets the value ofCallAwsServiceCrossRegionProps.getAdditionalIamStatements()CallAwsServiceJsonataProps.Builder.additionalIamStatements(List<? extends PolicyStatement> additionalIamStatements) Sets the value ofCallAwsServiceJsonataProps.getAdditionalIamStatements()CallAwsServiceJsonPathProps.Builder.additionalIamStatements(List<? extends PolicyStatement> additionalIamStatements) Sets the value ofCallAwsServiceJsonPathProps.getAdditionalIamStatements()CallAwsServiceProps.Builder.additionalIamStatements(List<? extends PolicyStatement> additionalIamStatements) Sets the value ofCallAwsServiceProps.getAdditionalIamStatements() -
Uses of PolicyStatement in software.amazon.awscdk.triggers
Methods in software.amazon.awscdk.triggers that return types with arguments of type PolicyStatementModifier and TypeMethodDescriptionfinal List<PolicyStatement> TriggerFunctionProps.Jsii$Proxy.getInitialPolicy()Method parameters in software.amazon.awscdk.triggers with type arguments of type PolicyStatementModifier 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()
addToPrincipalPolicy()