AWS::RolesAnywhere::ProfileCreates a Profile.
import { CfnProfile } from 'aws-cdk-lib/aws-rolesanywhere';Or use the module namespace:
import * as rolesanywhere from 'aws-cdk-lib/aws-rolesanywhere';
// rolesanywhere.CfnProfileConfiguration passed to the constructor as CfnProfileProps.
nameRequiredstringThe customer specified name of the resource.
roleArnsRequiredstring | IRoleRef[]A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
acceptRoleSessionNameOptionalboolean | IResolvableUsed to determine if a custom role session name will be accepted in a temporary credential request.
attributeMappingsOptionalIResolvable | IResolvable | AttributeMappingProperty[]A mapping applied to the authenticating end-entity certificate.
durationSecondsOptionalnumberThe number of seconds vended session credentials will be valid for.
enabledOptionalboolean | IResolvableThe enabled status of the resource.
managedPolicyArnsOptionalstring[]A list of managed policy ARNs. Managed policies identified by this list will be applied to the vended session credentials.
requireInstancePropertiesOptionalboolean | IResolvableSpecifies whether instance properties are required in CreateSession requests with this profile.
sessionPolicyOptionalstringA session policy that will applied to the trust boundary of the vended session credentials.
tagsOptionalCfnTag[]A list of Tags.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-rolesanywhereAWS::RolesAnywhere::Profile