Class AccessGrantArgs


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

      • domainId

        public com.pulumi.core.Output<java.lang.String> domainId()
        Returns:
        ID of the CloudWatch Omni domain that contains the space. Changing this forces a new resource.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Name of the access grant. Must be 1-64 characters and contain only letters, numbers, underscores (`_`) and hyphens (`-`). Changing this forces a new resource.
      • permission

        public com.pulumi.core.Output<java.lang.String> permission()
        Returns:
        Permission to grant. Valid values are `SPACE_ADMIN`, `READ`, `READ_WRITE_DELETE` and `CUSTOM`. Changing this forces a new resource.
      • principal

        public com.pulumi.core.Output<AccessGrantPrincipalArgs> principal()
        Returns:
        Principal receiving the grant. See below. Changing this forces a new resource.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource is managed. Defaults to the Region set in the provider configuration.
      • scopedActions

        public java.util.Optional<com.pulumi.core.Output<java.util.List<AccessGrantScopedActionArgs>>> scopedActions()
        Returns:
        Group of actions to allow, with the resource scopes and conditions that limit them. Up to 20 blocks. Required for the `CUSTOM` permission, and can also be used with the other permissions. See below. Changing this forces a new resource.
      • spaceId

        public com.pulumi.core.Output<java.lang.String> spaceId()
        Returns:
        ID of the CloudWatch Omni space to scope the grant to. Changing this forces a new resource. The following arguments are optional:
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.