Class ImageBlockPublicAccessState.Builder

    • Method Detail

      • region

        public ImageBlockPublicAccessState.Builder region​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public ImageBlockPublicAccessState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • state

        public ImageBlockPublicAccessState.Builder state​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - The state of block public access for AMIs at the account level in the configured AWS Region. Valid values: `unblocked` and `block-new-sharing`.
        Returns:
        builder
      • state

        public ImageBlockPublicAccessState.Builder state​(java.lang.String state)
        Parameters:
        state - The state of block public access for AMIs at the account level in the configured AWS Region. Valid values: `unblocked` and `block-new-sharing`.
        Returns:
        builder