UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

648 lines 1.23 MB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AwsManagedPolicy = void 0; const aws_cdk_lib_1 = require("aws-cdk-lib"); const iam_floyd_1 = require("./iam-floyd"); /** * Provides all AWS managed policies. * * To get the name, access the static properties of this class, e.g. `AwsManagedPolicy.ReadOnlyAccess`. * * To get an `aws_iam.IManagedPolicy` object, call the methods on an instance of the class, e.g. `new AwsManagedPolicy().ReadOnlyAccess()`. */ class AwsManagedPolicy extends iam_floyd_1.AwsManagedPolicy { /** Allow Access Analyzer to analyze resource metadata */ AccessAnalyzerServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AccessAnalyzerServiceRolePolicy); } /** Provides full access to AWS services and resources. */ AdministratorAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AdministratorAccess); } /** Grants account administrative permissions while explicitly allowing direct access to resources needed by Amplify applications. */ AdministratorAccessAmplify() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AdministratorAccessAmplify); } /** Grants account administrative permissions. Explicitly allows developers and administrators to gain direct access to resources they need to manage AWS Elastic Beanstalk applications */ AdministratorAccessAWSElasticBeanstalk() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AdministratorAccessAWSElasticBeanstalk); } /** Provides ReadOnly permissions required by the Amazon AI Operations Assistant to do analysis on customer AWS resources during investigations. */ AIOpsAssistantPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AIOpsAssistantPolicy); } /** Grants full access to Amazon AI Operations service and its required permissions via AWS console. It also includes permissions to use identity-aware console sessions. */ AIOpsConsoleAdminPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AIOpsConsoleAdminPolicy); } /** Grants access to the Amazon AI Operations APIs for creating, updating, and deleting investigations, investigation events, and investigation resources. It also includes ReadOnly access to all AI Operations APIs and to use identity-aware sessions. */ AIOpsOperatorAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AIOpsOperatorAccess); } /** Grants ReadOnly permissions to the Amazon AI Operations service and its required resources. */ AIOpsReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AIOpsReadOnlyAccess); } /** Provide device setup access to AlexaForBusiness services */ AlexaForBusinessDeviceSetup() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AlexaForBusinessDeviceSetup); } /** Grants full access to AlexaForBusiness resources and access to related AWS Services */ AlexaForBusinessFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AlexaForBusinessFullAccess); } /** Provide gateway execution access to AlexaForBusiness services */ AlexaForBusinessGatewayExecution() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AlexaForBusinessGatewayExecution); } /** Provide access to Lifesize AVS devices */ AlexaForBusinessLifesizeDelegatedAccessPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AlexaForBusinessLifesizeDelegatedAccessPolicy); } /** This policy enables Alexa for Business to perform automated tasks scheduled by your network profiles. */ AlexaForBusinessNetworkProfileServicePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AlexaForBusinessNetworkProfileServicePolicy); } /** Provide access to Poly AVS devices */ AlexaForBusinessPolyDelegatedAccessPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AlexaForBusinessPolyDelegatedAccessPolicy); } /** Provide read only access to AlexaForBusiness services */ AlexaForBusinessReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AlexaForBusinessReadOnlyAccess); } /** Provides full access to create/edit/delete APIs in Amazon API Gateway via the AWS Management Console. */ AmazonAPIGatewayAdministrator() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonAPIGatewayAdministrator); } /** Provides full access to invoke APIs in Amazon API Gateway. */ AmazonAPIGatewayInvokeFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonAPIGatewayInvokeFullAccess); } /** Allows API Gateway to push logs to user's account. */ AmazonAPIGatewayPushToCloudWatchLogs() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonAPIGatewayPushToCloudWatchLogs); } /** Provides full access to Amazon AppFlow and access to AWS services supported as flow source or destination (S3 and Redshift). Also provides access to KMS for encryption */ AmazonAppFlowFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonAppFlowFullAccess); } /** Provides read only access to Amazon Appflow flows */ AmazonAppFlowReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonAppFlowReadOnlyAccess); } /** Provides full access to Amazon AppStream via the AWS Management Console. */ AmazonAppStreamFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonAppStreamFullAccess); } /** Amazon AppStream 2.0 access to AWS Certificate Manager Private CA in customer accounts for certificate-based authentication */ AmazonAppStreamPCAAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonAppStreamPCAAccess); } /** Provides read only access to Amazon AppStream via the AWS Management Console. */ AmazonAppStreamReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonAppStreamReadOnlyAccess); } /** Default policy for Amazon AppStream service role. */ AmazonAppStreamServiceAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonAppStreamServiceAccess); } /** Provide full access to Amazon Athena and scoped access to the dependencies needed to enable querying, writing results, and data management. */ AmazonAthenaFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonAthenaFullAccess); } /** Provides access to perform all operations Amazon Augmented AI resources, including FlowDefinitions, HumanTaskUis and HumanLoops. Does not allow access for creating FlowDefinitions against the public-crowd Workteam. */ AmazonAugmentedAIFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonAugmentedAIFullAccess); } /** Provides access to perform all operations on HumanLoops. */ AmazonAugmentedAIHumanLoopFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonAugmentedAIHumanLoopFullAccess); } /** Provides access to perform all operations Amazon Augmented AI resources, including FlowDefinitions, HumanTaskUis and HumanLoops. Also provides access to those operations of services that are integrated with Amazon Augmented AI. */ AmazonAugmentedAIIntegratedAPIAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonAugmentedAIIntegratedAPIAccess); } /** Provides console full administrative access to Aurora DSQL */ AmazonAuroraDSQLConsoleFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonAuroraDSQLConsoleFullAccess); } /** Provides full administrative access to Aurora DSQL */ AmazonAuroraDSQLFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonAuroraDSQLFullAccess); } /** Provides read only access to Aurora DSQL */ AmazonAuroraDSQLReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonAuroraDSQLReadOnlyAccess); } /** Provides full access to Amazon Bedrock as well as limited access to related services that are required by it */ AmazonBedrockFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonBedrockFullAccess); } /** Provides read only access to Amazon Bedrock */ AmazonBedrockReadOnly() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonBedrockReadOnly); } /** Defines the maximum permissions of IAM roles that Amazon Bedrock Studio creates for operating Amazon Bedrock Studio resources. */ AmazonBedrockStudioPermissionsBoundary() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonBedrockStudioPermissionsBoundary); } /** Provides full access to Amazon Braket via the AWS Management Console and SDK. Also provides access to related services (e.g., S3, logs). */ AmazonBraketFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonBraketFullAccess); } /** Grants access to AWS Services and resources necessary for executing an Amazon Braket Job including S3, Cloudwatch, IAM and Braket */ AmazonBraketJobsExecutionPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonBraketJobsExecutionPolicy); } /** Allows Amazon Braket to create and manage AWS resources on your behalf */ AmazonBraketServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonBraketServiceRolePolicy); } /** Provides full access to Amazon Chime Admin Console via the AWS Management Console. */ AmazonChimeFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonChimeFullAccess); } /** Provides read only access to Amazon Chime Admin Console via the AWS Management Console. */ AmazonChimeReadOnly() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonChimeReadOnly); } /** Provides access to Amazon Chime SDK operations */ AmazonChimeSDK() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonChimeSDK); } /** Managed Policy For Amazon Chime SDK MediaPipelines Service Linked Role */ AmazonChimeSDKMediaPipelinesServiceLinkedRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonChimeSDKMediaPipelinesServiceLinkedRolePolicy); } /** Allows Amazon Chime SDK Messaging to access AWS resources and enable messaging functionality */ AmazonChimeSDKMessagingServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonChimeSDKMessagingServiceRolePolicy); } /** Enables access to AWS Resources used or managed by Amazon Chime */ AmazonChimeServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonChimeServiceRolePolicy); } /** Allows Amazon Chime to access Amazon Transcribe and Amazon Transcribe Medical on your behalf */ AmazonChimeTranscriptionServiceLinkedRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonChimeTranscriptionServiceLinkedRolePolicy); } /** Provides user management access to Amazon Chime Admin Console via the AWS Management Console. */ AmazonChimeUserManagement() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonChimeUserManagement); } /** Managed policy for Service Linked Role for Amazon Chime VoiceConnector */ AmazonChimeVoiceConnectorServiceLinkedRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonChimeVoiceConnectorServiceLinkedRolePolicy); } /** Provides full access to Amazon Cloud Directory Service. */ AmazonCloudDirectoryFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCloudDirectoryFullAccess); } /** Provides read only access to Amazon Cloud Directory Service. */ AmazonCloudDirectoryReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCloudDirectoryReadOnlyAccess); } /** Provides full only access to Amazon CloudWatch Evidently. Also provides access to related Amazon S3, Amazon SNS, Amazon CloudWatch, and other related services. */ AmazonCloudWatchEvidentlyFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCloudWatchEvidentlyFullAccess); } /** Provides read only access to Amazon CloudWatch Evidently */ AmazonCloudWatchEvidentlyReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCloudWatchEvidentlyReadOnlyAccess); } /** Allows CloudWatch Evidently Service to manage associated AWS Resources on behalf of the customer */ AmazonCloudWatchEvidentlyServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCloudWatchEvidentlyServiceRolePolicy); } /** Grants full access permissions for the Amazon CloudWatch RUM service */ AmazonCloudWatchRUMFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCloudWatchRUMFullAccess); } /** Grants read only permissions for the Amazon CloudWatch RUM service */ AmazonCloudWatchRUMReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCloudWatchRUMReadOnlyAccess); } /** Grants permission to Amazon CloudWatch RUM Service to publish monitoring data to other relevant AWS services */ AmazonCloudWatchRUMServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCloudWatchRUMServiceRolePolicy); } /** Provides full access to Amazon CodeCatalyst */ AmazonCodeCatalystFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCodeCatalystFullAccess); } /** Provides read only access to Amazon CodeCatalyst */ AmazonCodeCatalystReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCodeCatalystReadOnlyAccess); } /** Allows Amazon CodeCatalyst to create, update, and resolve AWS Support cases on your behalf. */ AmazonCodeCatalystSupportAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCodeCatalystSupportAccess); } /** Provides access required by Amazon CodeGuru Profiler agent. */ AmazonCodeGuruProfilerAgentAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCodeGuruProfilerAgentAccess); } /** Provides full access to Amazon CodeGuru Profiler. */ AmazonCodeGuruProfilerFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCodeGuruProfilerFullAccess); } /** Provides read only access to Amazon CodeGuru Profiler. */ AmazonCodeGuruProfilerReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCodeGuruProfilerReadOnlyAccess); } /** Grants full access to Amazon CodeGuru Reviewer and scoped access to required dependencies. */ AmazonCodeGuruReviewerFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCodeGuruReviewerFullAccess); } /** Provides read only access to Amazon CodeGuru Reviewer. */ AmazonCodeGuruReviewerReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCodeGuruReviewerReadOnlyAccess); } /** A service-linked role required for Amazon CodeGuru Reviewer to access resources on your behalf. */ AmazonCodeGuruReviewerServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCodeGuruReviewerServiceRolePolicy); } /** Provides full access to Amazon CodeGuru Security. */ AmazonCodeGuruSecurityFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCodeGuruSecurityFullAccess); } /** Provides access required for working with Amazon CodeGuru Security scans. */ AmazonCodeGuruSecurityScanAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCodeGuruSecurityScanAccess); } /** Provides access to Amazon Cognito APIs to support developer authenticated identities from your authentication backend. */ AmazonCognitoDeveloperAuthenticatedIdentities() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCognitoDeveloperAuthenticatedIdentities); } /** Allows Amazon Cognito User Pools service to use your SES identities for email sending */ AmazonCognitoIdpEmailServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCognitoIdpEmailServiceRolePolicy); } /** Enables access to AWS Services and Resources used or managed by Amazon Cognito User Pools */ AmazonCognitoIdpServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCognitoIdpServiceRolePolicy); } /** Provides administrative access to existing Amazon Cognito resources. You will need AWS account admin privileges to create new Cognito resources. */ AmazonCognitoPowerUser() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCognitoPowerUser); } /** Provides read only access to Amazon Cognito resources. */ AmazonCognitoReadOnly() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCognitoReadOnly); } /** This policy defines the set of permissions allowed for unauthenticated identities for Cognito Identity Pools. This policy is not intended to be used as a stand alone permission policy. It is used as a guardrail against overly permissive policies attached for roles in an identity pool. Do not attach this policy to any roles, as Cognito Identity Service will automatically include it as a scoped down policy when creating credentials. The privileges to temporarily access other AWS resources through the enhanced flow will now be defined by the intersection of the role associated with the identity of the unauthenticated user provided by a service, and the privileges given in this managed policy that is owned by Cognito. */ AmazonCognitoUnAuthedIdentitiesSessionPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCognitoUnAuthedIdentitiesSessionPolicy); } /** This policy defines the set of permissions allowed for unauthenticated identities for Cognito Identity Pools. This does not need to be attached to your unauth role, as Cognito Identity Service will automatically include it as a scoped down policy when creating credentials. The privileges to temporarily access other AWS resources through the enhanced flow will now be defined by the intersection of the role associated with the identity of the unauthenticated user provided by a service, and the privileges given in this managed policy that is owned by Cognito. */ AmazonCognitoUnauthenticatedIdentities() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonCognitoUnauthenticatedIdentities); } /** The purpose of this policy is to grant permissions to AWS Connect users required to use Connect resources. This policy provides full access to AWS Connect resources via the Connect Console and public APIs */ AmazonConnectFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonConnectFullAccess); } /** Policy for Amazon Connect Campaigns service linked role */ AmazonConnectCampaignsServiceLinkedRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonConnectCampaignsServiceLinkedRolePolicy); } /** Grants permission to view the Amazon Connect instances in your AWS account. */ AmazonConnectReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonConnectReadOnlyAccess); } /** Allows Amazon Connect to create and manage AWS resources on your behalf. */ AmazonConnectServiceLinkedRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonConnectServiceLinkedRolePolicy); } /** Allows Amazon Connect to synchronize AWS resources across regions on your behalf. */ AmazonConnectSynchronizationServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonConnectSynchronizationServiceRolePolicy); } /** Provides full access to Amazon Connect Voice ID */ AmazonConnectVoiceIDFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonConnectVoiceIDFullAccess); } /** Provides permissions to consume Amazon Bedrock models, including invoking Amazon Bedrock application inference profile created for particular Amazon DataZone domain. */ AmazonDataZoneBedrockModelConsumptionPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDataZoneBedrockModelConsumptionPolicy); } /** Provides permissions to manage Amazon Bedrock model access, including creating, tagging and deleting application inference profiles. */ AmazonDataZoneBedrockModelManagementPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDataZoneBedrockModelManagementPolicy); } /** Default policy for the Amazon DataZone's DomainExecutionRole service role. This role is used by Amazon DataZone to catalog, discover, govern, share, and analyze data in the Amazon DataZone domain. */ AmazonDataZoneDomainExecutionRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDataZoneDomainExecutionRolePolicy); } /** Amazon DataZone creates IAM roles for Environments to perform data analytics actions, and uses this policy when creating these roles to define the boundary of their permissions. */ AmazonDataZoneEnvironmentRolePermissionsBoundary() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDataZoneEnvironmentRolePermissionsBoundary); } /** Provides full access to Amazon DataZone via the AWS Management Console as well as limited access to related services that are required by it. */ AmazonDataZoneFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDataZoneFullAccess); } /** Provides full access to Amazon DataZone, but does not allow the management of domains, users, or associated accounts. */ AmazonDataZoneFullUserAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDataZoneFullUserAccess); } /** The policy grants permissions to allow Amazon DataZone to enable publishing and access grants to data. */ AmazonDataZoneGlueManageAccessRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDataZoneGlueManageAccessRolePolicy); } /** Amazon DataZone is a data management service that enables you to catalog, discover, govern, share, and analyze your data. With Amazon DataZone, you can share and access your data across accounts and supported regions. Amazon DataZone simplifies your experience across AWS services, including, but not limited to, Amazon Redshift, Amazon Athena, AWS Glue, and AWS Lake Formation. */ AmazonDataZoneRedshiftGlueProvisioningPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDataZoneRedshiftGlueProvisioningPolicy); } /** This policy gives Amazon DataZone permissions to publish Amazon Redshift data to the catalog. It also gives Amazon DataZone permissions to grant access or revoke access to Amazon Redshift or Amazon Redshift Serverless published assets in the catalog. */ AmazonDataZoneRedshiftManageAccessRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDataZoneRedshiftManageAccessRolePolicy); } /** The AmazonDataZoneSageMakerEnvironmentRolePermissionsBoundary policy is the list of permissions that are permitted on an execution role created in a SageMaker environment provisioned by Amazon DataZone. */ AmazonDataZoneSageMakerEnvironmentRolePermissionsBoundary() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDataZoneSageMakerEnvironmentRolePermissionsBoundary); } /** The AmazonDataZoneSageMakerManageAccessRolePolicy policy grants Amazon DataZone the permissions required to grant user access to various resources in the SageMaker environment. */ AmazonDataZoneSageMakerManageAccessRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDataZoneSageMakerManageAccessRolePolicy); } /** The AmazonDataZoneSageMakerProvisioningRolePolicy policy grants Amazon DataZone the permissions required to interoperate with Amazon SageMaker. */ AmazonDataZoneSageMakerProvisioningRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDataZoneSageMakerProvisioningRolePolicy); } /** Provides full access to Amazon Detective service and scoped access to the console UI dependencies */ AmazonDetectiveFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDetectiveFullAccess); } /** Provides investigator access to Amazon Detective service and scoped access to the console UI dependencies. This policy grants permission to dive into Detective for investigation purposes and limited write access to Guardduty. */ AmazonDetectiveInvestigatorAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDetectiveInvestigatorAccess); } /** Provides member access to Amazon Detective service and scoped access to the console UI dependencies. */ AmazonDetectiveMemberAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDetectiveMemberAccess); } /** Provides Organizations access to manage Delegated administrator for Amazon Detective and scoped access to the console UI dependencies. This also grants permission to create a service-linked role for Detective. */ AmazonDetectiveOrganizationsAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDetectiveOrganizationsAccess); } /** Allows Amazon Detective to make service calls on your behalf */ AmazonDetectiveServiceLinkedRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDetectiveServiceLinkedRolePolicy); } /** The policy grants full-access to the DevOps Guru console. */ AmazonDevOpsGuruConsoleFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDevOpsGuruConsoleFullAccess); } /** Provides full access to Amazon DevOps Guru. */ AmazonDevOpsGuruFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDevOpsGuruFullAccess); } /** Provide access to enable and manage Amazon DevOps Guru within an organization. */ AmazonDevOpsGuruOrganizationsAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDevOpsGuruOrganizationsAccess); } /** Provides read only access to Amazon DevOps Guru Console. */ AmazonDevOpsGuruReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDevOpsGuruReadOnlyAccess); } /** A service-linked role required for Amazon DevOpsGuru to access your resources. */ AmazonDevOpsGuruServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDevOpsGuruServiceRolePolicy); } /** Provides access to upload DMS replication logs to cloudwatch logs in customer account. */ AmazonDMSCloudWatchLogsRole() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDMSCloudWatchLogsRole); } /** Provides access to manage S3 settings for Redshift endpoints for DMS. */ AmazonDMSRedshiftS3Role() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDMSRedshiftS3Role); } /** Provides access to manage VPC settings for AWS managed customer configurations */ AmazonDMSVPCManagementRole() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDMSVPCManagementRole); } /** Allows Amazon DocumentDB-Elastic to manage AWS resources on your behalf. */ AmazonDocDBElasticServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDocDBElasticServiceRolePolicy); } /** Provides full access to manage Amazon DocumentDB with MongoDB compatibility using the AWS Management Console. Note this policy also grants full access to publish on all SNS topics within the account, permissions to create and edit Amazon EC2 instances and VPC configurations, permissions to view and list keys on Amazon KMS, and full access to Amazon RDS and Amazon Neptune. */ AmazonDocDBConsoleFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDocDBConsoleFullAccess); } /** Provides full access to Amazon DocumentDB Elastic Clusters and other required permissions for its dependencies including EC2, KMS, SecretsManager, CloudWatch and IAM. */ AmazonDocDBElasticFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDocDBElasticFullAccess); } /** Provides read-only access to Amazon DocDB-Elastic and CloudWatch metrics. */ AmazonDocDBElasticReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDocDBElasticReadOnlyAccess); } /** Provides full access to Amazon DocumentDB with MongoDB compatibility. Note this policy also grants full access to publish on all SNS topics within the account and full access to Amazon RDS and Amazon Neptune. */ AmazonDocDBFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDocDBFullAccess); } /** Provides read-only access to Amazon DocumentDB with MongoDB compatibility. Note that this policy also grants access to Amazon RDS and Amazon Neptune resources. */ AmazonDocDBReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDocDBReadOnlyAccess); } /** Provides access to manage VPC settings for Amazon managed customer configurations */ AmazonDRSVPCManagement() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDRSVPCManagement); } /** Provides full access to Amazon DynamoDB via the AWS Management Console. */ AmazonDynamoDBFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDynamoDBFullAccess); } /** Provides full access to Amazon DynamoDB */ AmazonDynamoDBFullAccessV2() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDynamoDBFullAccessV2); } /** This policy is on a deprecation path. See documentation for guidance: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBPipeline.html. Provides full access to Amazon DynamoDB including Export/Import using AWS Data Pipeline via the AWS Management Console. */ AmazonDynamoDBFullAccesswithDataPipeline() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDynamoDBFullAccesswithDataPipeline); } /** Provides read only access to Amazon DynamoDB via the AWS Management Console. */ AmazonDynamoDBReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonDynamoDBReadOnlyAccess); } /** IAM Policy that allows the CSI driver service account to make calls to related services such as EC2 on your behalf. */ AmazonEBSCSIDriverPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEBSCSIDriverPolicy); } /** Provides administrative access to Amazon ECR resources */ AmazonEC2ContainerRegistryFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2ContainerRegistryFullAccess); } /** Provides full access to Amazon EC2 Container Registry repositories, but does not allow repository deletion or policy changes. */ AmazonEC2ContainerRegistryPowerUser() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2ContainerRegistryPowerUser); } /** Provides access to pull images from Amazon EC2 Container Registry repositories. */ AmazonEC2ContainerRegistryPullOnly() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2ContainerRegistryPullOnly); } /** Provides read-only access to Amazon EC2 Container Registry repositories. */ AmazonEC2ContainerRegistryReadOnly() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2ContainerRegistryReadOnly); } /** Policy to enable Task Autoscaling for Amazon EC2 Container Service */ AmazonEC2ContainerServiceAutoscaleRole() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2ContainerServiceAutoscaleRole); } /** Policy to enable CloudWatch Events for EC2 Container Service */ AmazonEC2ContainerServiceEventsRole() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2ContainerServiceEventsRole); } /** Default policy for the Amazon EC2 Role for Amazon EC2 Container Service. */ AmazonEC2ContainerServiceforEC2Role() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2ContainerServiceforEC2Role); } /** Default policy for Amazon ECS service role. */ AmazonEC2ContainerServiceRole() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2ContainerServiceRole); } /** Provides full access to Amazon EC2 via the AWS Management Console. */ AmazonEC2FullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2FullAccess); } /** Provides read only access to Amazon EC2 via the AWS Management Console. */ AmazonEC2ReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2ReadOnlyAccess); } /** Provides EC2 access to S3 bucket to download revision. This role is needed by the CodeDeploy agent on EC2 instances. */ AmazonEC2RoleforAWSCodeDeploy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2RoleforAWSCodeDeploy); } /** Provides EC2 limited access to S3 bucket to download revision. This role is needed by the CodeDeploy agent on EC2 instances. */ AmazonEC2RoleforAWSCodeDeployLimited() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2RoleforAWSCodeDeployLimited); } /** Default policy for the Amazon EC2 Role for Data Pipeline service role. */ AmazonEC2RoleforDataPipelineRole() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2RoleforDataPipelineRole); } /** This policy will soon be deprecated. Please use AmazonSSMManagedInstanceCore policy to enable AWS Systems Manager service core functionality on EC2 instances. For more information see https://docs.aws.amazon.com/systems-manager/latest/userguide/setup-instance-profile.html */ AmazonEC2RoleforSSM() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2RoleforSSM); } /** Managed policy for the Amazon LaunchWizard service role for EC2 */ AmazonEC2RolePolicyForLaunchWizard() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2RolePolicyForLaunchWizard); } /** Policy to enable Autoscaling for Amazon EC2 Spot Fleet */ AmazonEC2SpotFleetAutoscaleRole() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2SpotFleetAutoscaleRole); } /** Allows EC2 Spot Fleet to request, terminate and tag Spot Instances on your behalf. */ AmazonEC2SpotFleetTaggingRole() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEC2SpotFleetTaggingRole); } /** Provides administrative access to Amazon ECS resources and enables ECS features through access to other AWS service resources, including VPCs, Auto Scaling groups, and CloudFormation stacks. */ AmazonECSFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonECSFullAccess); } /** Policy to enable Amazon ECS Compute to manage your EC2 instances and related resources as part of ECS managed instances */ AmazonECSComputeServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonECSComputeServiceRolePolicy); } /** Provides administrative access to Private Certificate Authority, AWS Secrets Manager and other AWS Services required to manage ECS Service Connect TLS features on your behalf. */ AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonECSInfrastructureRolePolicyForServiceConnectTransportLayerSecurity); } /** Provides access to other AWS service resources required to manage volumes associated with ECS workloads on your behalf. */ AmazonECSInfrastructureRolePolicyForVolumes() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonECSInfrastructureRolePolicyForVolumes); } /** Provides access to other AWS service resources required to manage VPC Lattice feature in ECS workloads on your behalf. */ AmazonECSInfrastructureRolePolicyForVpcLattice() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonECSInfrastructureRolePolicyForVpcLattice); } /** Policy to enable Amazon ECS to manage your cluster. */ AmazonECSServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonECSServiceRolePolicy); } /** Provides access to other AWS service resources that are required to run Amazon ECS tasks */ AmazonECSTaskExecutionRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonECSTaskExecutionRolePolicy); } /** Provides management access to EFS resources and read access to EC2 */ AmazonEFSCSIDriverPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEFSCSIDriverPolicy); } /** This policy provides the Amazon VPC CNI Plugin (amazon-vpc-cni-k8s) the permissions it requires to modify the IP address configuration on your EKS worker nodes. This permission set allows the CNI to list, describe, and modify Elastic Network Interfaces on your behalf. More information on the AWS VPC CNI Plugin is available here: https://github.com/aws/amazon-vpc-cni-k8s */ AmazonEKSCNIPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSCNIPolicy); } /** Policy attached to the EKS Cluster Role that grants permissions to manage the cluster's block storage resources. */ AmazonEKSBlockStoragePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSBlockStoragePolicy); } /** This policy provides Kubernetes the permissions it requires to manage resources on your behalf. Kubernetes requires Ec2:CreateTags permissions to place identifying information on EC2 resources including but not limited to Instances, Security Groups, and Elastic Network Interfaces. */ AmazonEKSClusterPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSClusterPolicy); } /** Policy attached to the EKS Cluster Role that grants permissions to manage the cluster's compute resources. */ AmazonEKSComputePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSComputePolicy); } /** This policy allows Amazon EKS to manage AWS resources for EKS connector */ AmazonEKSConnectorServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSConnectorServiceRolePolicy); } /** This policy enables the Amazon EKS Dashboard to access and display organization-wide information. The policy allows the EKS Dashboard service to gather information about your AWS Organizations structure and accounts. */ AmazonEKSDashboardServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSDashboardServiceRolePolicy); } /** Provides access to other AWS service resources that are required to run Amazon EKS pods on AWS Fargate */ AmazonEKSFargatePodExecutionRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSFargatePodExecutionRolePolicy); } /** This policy grants necessary permissions to Amazon EKS to run fargate tasks */ AmazonEKSForFargateServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSForFargateServiceRolePolicy); } /** Policy attached to the EKS Cluster Role that grants permissions to manage the cluster's load balancing resources. */ AmazonEKSLoadBalancingPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSLoadBalancingPolicy); } /** This policy provides permissions to EKS local cluster's control-plane instances running in your account to manage resources on your behalf. */ AmazonEKSLocalOutpostClusterPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSLocalOutpostClusterPolicy); } /** Allows Amazon EKS Local to call AWS services on your behalf. */ AmazonEKSLocalOutpostServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSLocalOutpostServiceRolePolicy); } /** Policy attached to the EKS Cluster Role that grants permissions to manage the cluster's networking resources. */ AmazonEKSNetworkingPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSNetworkingPolicy); } /** This policy allows Amazon Elastic Container Service for Kubernetes to create and manage the necessary resources to operate EKS Clusters. */ AmazonEKSServicePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSServicePolicy); } /** A Service-Linked Role required for Amazon EKS to call AWS services on your behalf. */ AmazonEKSServiceRolePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSServiceRolePolicy); } /** Policy used by VPC Resource Controller to manage ENI and IPs for worker nodes. */ AmazonEKSVPCResourceController() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSVPCResourceController); } /** This policy allows Amazon EKS worker nodes to connect to Amazon EKS Clusters. */ AmazonEKSWorkerNodeMinimalPolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSWorkerNodeMinimalPolicy); } /** This policy allows Amazon EKS worker nodes to connect to Amazon EKS Clusters. */ AmazonEKSWorkerNodePolicy() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonEKSWorkerNodePolicy); } /** Provides full access to Amazon ElastiCache via the AWS Management Console. */ AmazonElastiCacheFullAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonElastiCacheFullAccess); } /** Provides read only access to Amazon ElastiCache via the AWS Management Console. */ AmazonElastiCacheReadOnlyAccess() { return aws_cdk_lib_1.aws_iam.ManagedPolicy.fromAwsManagedPolicyName(iam_floyd_1.AwsManagedPolicy.AmazonElastiCacheReadOnlyAccess)