CfnPermissionSetProps Struct
Properties for defining a CfnPermissionSet.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sso as sso } from 'aws-cdk-lib';
declare const inlinePolicy: any;
const cfnPermissionSetProps: sso.CfnPermissionSetProps = {
instanceArn: 'instanceArn',
name: 'name',
// the properties below are optional
customerManagedPolicyReferences: [{
name: 'name',
// the properties below are optional
path: 'path',
}],
description: 'description',
inlinePolicy: inlinePolicy,
managedPolicies: ['managedPolicies'],
permissionsBoundary: {
customerManagedPolicyReference: {
name: 'name',
// the properties below are optional
path: 'path',
},
managedPolicyArn: 'managedPolicyArn',
},
relayStateType: 'relayStateType',
sessionDuration: 'sessionDuration',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
customerManagedPolicyReferencesoptionalIResolvable | IResolvable | CfnPermissionSet.CustomerManagedPolicyReferenceProperty[]customer_managed_policy_referencesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, CustomerManagedPolicyReferenceProperty]]]customerManagedPolicyReferencesoptionalIResolvableCustomerManagedPolicyReferencesoptionalIResolvableCustomerManagedPolicyReferencesoptionalinterface{}#descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#inlinePolicyoptionalanyinline_policyoptionalAnyinlinePolicyoptionalObjectInlinePolicyoptionalobjectInlinePolicyoptionalinterface{}#For
Length Constraints, if a valid ARN is provided for a permission set, it is possible for an empty inline policy to be returned.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference .
managedPoliciesoptionalstring[]managed_policiesoptionaltyping.List[str]managedPoliciesoptionalList<String>ManagedPoliciesoptionalstring[]ManagedPoliciesoptional*[]*string#permissionsBoundaryoptionalIResolvable | CfnPermissionSet.PermissionsBoundaryPropertypermissions_boundaryoptionaltyping.Union[IResolvable, PermissionsBoundaryProperty]permissionsBoundaryoptionalIResolvablePermissionsBoundaryoptionalIResolvablePermissionsBoundaryoptionalinterface{}#notes
Specify either CustomerManagedPolicyReference to use the name and path of a customer managed policy, or ManagedPolicyArn to use the ARN of an AWS managed policy. A permissions boundary represents the maximum permissions that any policy can grant your role. For more information, see Permissions boundaries for IAM entities in the IAM User Guide .
Policies used as permissions boundaries don't provide permissions. You must also attach an IAM policy to the role. To learn how the effective permissions for a role are evaluated, see IAM JSON policy evaluation logic in the IAM User Guide .
relayStateTypeoptionalstringrelay_state_typeoptionalstrrelayStateTypeoptionalStringRelayStateTypeoptionalstringRelayStateTypeoptional*string#sessionDurationoptionalstringsession_durationoptionalstrsessionDurationoptionalStringSessionDurationoptionalstringSessionDurationoptional*string#