Class AccessGrantArgs.Builder

  • Enclosing class:
    AccessGrantArgs

    public static final class AccessGrantArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • domainId

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

        public AccessGrantArgs.Builder domainId​(java.lang.String domainId)
        Parameters:
        domainId - ID of the CloudWatch Omni domain that contains the space. Changing this forces a new resource.
        Returns:
        builder
      • name

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

        public AccessGrantArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the access grant. Must be 1-64 characters and contain only letters, numbers, underscores (`_`) and hyphens (`-`). Changing this forces a new resource.
        Returns:
        builder
      • permission

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

        public AccessGrantArgs.Builder permission​(java.lang.String permission)
        Parameters:
        permission - Permission to grant. Valid values are `SPACE_ADMIN`, `READ`, `READ_WRITE_DELETE` and `CUSTOM`. Changing this forces a new resource.
        Returns:
        builder
      • principal

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

        public AccessGrantArgs.Builder region​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource is managed. Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public AccessGrantArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource is managed. Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • scopedActions

        public AccessGrantArgs.Builder scopedActions​(@Nullable
                                                     com.pulumi.core.Output<java.util.List<AccessGrantScopedActionArgs>> scopedActions)
        Parameters:
        scopedActions - 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.
        Returns:
        builder
      • scopedActions

        public AccessGrantArgs.Builder scopedActions​(java.util.List<AccessGrantScopedActionArgs> scopedActions)
        Parameters:
        scopedActions - 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.
        Returns:
        builder
      • scopedActions

        public AccessGrantArgs.Builder scopedActions​(AccessGrantScopedActionArgs... scopedActions)
        Parameters:
        scopedActions - 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.
        Returns:
        builder
      • spaceId

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

        public AccessGrantArgs.Builder spaceId​(java.lang.String spaceId)
        Parameters:
        spaceId - ID of the CloudWatch Omni space to scope the grant to. Changing this forces a new resource. The following arguments are optional:
        Returns:
        builder
      • tags

        public AccessGrantArgs.Builder tags​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - 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.
        Returns:
        builder
      • tags

        public AccessGrantArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - 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.
        Returns:
        builder