Class AccessGrantPrincipalArgs


  • public final class AccessGrantPrincipalArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • principalAttributes

        public java.util.Optional<com.pulumi.core.Output<java.util.List<AccessGrantPrincipalPrincipalAttributeArgs>>> principalAttributes()
        Returns:
        Attribute condition for attribute-based access. When set, the grant targets any principal matching all conditions. Supported only when `principalType` is `IDC_USER`. Up to 10 blocks. See below.
      • principalId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> principalId()
        Returns:
        ID of the principal, such as an IAM role ARN, an Identity Center user or group ID, or the ID of an access profile or alert. Must be 1-2048 characters and start with a letter or number.
      • principalType

        public com.pulumi.core.Output<java.lang.String> principalType()
        Returns:
        Type of principal. Valid values are `IDC_USER`, `IDC_GROUP`, `IAM_USER`, `IAM_ROLE`, `IAM_ROOT`, `ACCESS_PROFILE`, `ALERT` and `AGENT`.