Carina

Resource

awscc.sso.PermissionSet

CloudFormation Type: AWS::SSO::PermissionSet

Resource Type definition for SSO PermissionSet

Example

awscc.sso.PermissionSet {
  # Replace this placeholder with your organization's IAM Identity Center instance ARN.
  instance_arn     = 'arn:aws:sso:::instance/ssoins-1234567890abcdef'
  name             = 'ExampleReadOnly'
  description      = 'Read-only access for the example workload'
  session_duration = 'PT1H'

  inline_policy = {
    version = aws.iam.PolicyDocument.Version.2012_10_17
    statement {
      effect   = aws.iam.PolicyDocument.Statement.Effect.allow
      action   = 's3:ListAllMyBuckets'
      resource = '*'
    }
  }

  tags = {
    Environment = 'example'
  }
}

Argument Reference

customer_managed_policy_references

description

The permission set description.

inline_policy

The inline policy to put in permission set.

instance_arn

The sso instance arn that the permission set is owned.

managed_policies

name

The name you want to assign to this permission set.

permissions_boundary

relay_state_type

The relay state URL that redirect links to any service in the AWS Management Console.

session_duration

The length of time that a user can be signed in to an AWS account.

tags

Struct Definitions

customer_managed_policy_reference

Used by: customer_managed_policy_references, permissions_boundary.customer_managed_policy_reference

Field Type Required Description
name String(pattern, len: 1..=128) Yes
path String(pattern, len: 1..=512) No

permissions_boundary

Field Type Required Description
customer_managed_policy_reference Struct(CustomerManagedPolicyReference) No
managed_policy_arn aws.Arn — identity: String(pattern); member: String(len: 20..=2048) No

Attribute Reference

permission_set_arn

The permission set that the policy will be attached to

AWS API narrowings

These fields are narrower than or equal to CFN. Input rules combine documented AWS domains, recorded live observations, and Carina canonical spellings for stable state comparison. A canonical DSL spelling does not claim AWS rejects other spellings. Attaching a type name adds no structural constraints. Field names below use CFN spelling.

CFN field Relation to CFN Evidence URL Verbatim quote / exact observation Checked / observed
/properties/InlinePolicy Subset: CFN ∩ reviewed input domain Source record <version_block> = "Version" : ("2008-10-17" | "2012-10-17")<effect_block> = "Effect" : ("Allow" | "Deny") 2026-11-07
/properties/InlinePolicy Subset: CFN ∩ reviewed input domain Source record The Statement element can contain a single statement or an array of individual statements. 2026-11-07
/properties/InlinePolicy Subset: CFN ∩ reviewed input domain Source record You can create conditions that compare strings, dates, numbers, and more using typical Boolean comparisons such as equals, greater than, and less than. 2026-11-07
/properties/InstanceArn Subset: CFN ∩ reviewed input domain Source record The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.Length Constraints: Minimum length of 10. Maximum length of 1224.Pattern: arn:aws(-[a-z]{1,5}){0,3}:sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16} 2026-11-07
/properties/PermissionSetArn Subset: CFN ∩ reviewed input domain Source record The ARN of the permission set that the admin wants to grant the principal access to.Length Constraints: Minimum length of 10. Maximum length of 1224.Pattern: arn:aws(-[a-z]{1,5}){0,3}:sso:::permissionSet/(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16} 2026-11-07