Class ResourceArgs.Builder

  • Enclosing class:
    ResourceArgs

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

      • Builder

        public Builder()
    • Method Detail

      • desiredState

        public ResourceArgs.Builder desiredState​(com.pulumi.core.Output<java.lang.String> desiredState)
        Parameters:
        desiredState - JSON string matching the CloudFormation resource type schema with desired configuration.
        Returns:
        builder
      • desiredState

        public ResourceArgs.Builder desiredState​(java.lang.String desiredState)
        Parameters:
        desiredState - JSON string matching the CloudFormation resource type schema with desired configuration.
        Returns:
        builder
      • region

        public ResourceArgs.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 ResourceArgs.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
      • roleArn

        public ResourceArgs.Builder roleArn​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> roleArn)
        Parameters:
        roleArn - ARN of the IAM Role to assume for operations.
        Returns:
        builder
      • roleArn

        public ResourceArgs.Builder roleArn​(java.lang.String roleArn)
        Parameters:
        roleArn - ARN of the IAM Role to assume for operations.
        Returns:
        builder
      • schema

        public ResourceArgs.Builder schema​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> schema)
        Parameters:
        schema - JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same `typeName`, it is recommended to fetch the schema once via the `aws.cloudformation.CloudFormationType` data source and use this argument to reduce `DescribeType` API operation throttling. This value is marked sensitive only to prevent large plan differences from showing.
        Returns:
        builder
      • schema

        public ResourceArgs.Builder schema​(java.lang.String schema)
        Parameters:
        schema - JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same `typeName`, it is recommended to fetch the schema once via the `aws.cloudformation.CloudFormationType` data source and use this argument to reduce `DescribeType` API operation throttling. This value is marked sensitive only to prevent large plan differences from showing.
        Returns:
        builder
      • typeName

        public ResourceArgs.Builder typeName​(com.pulumi.core.Output<java.lang.String> typeName)
        Parameters:
        typeName - CloudFormation resource type name. For example, `AWS::EC2::VPC`. The following arguments are optional:
        Returns:
        builder
      • typeName

        public ResourceArgs.Builder typeName​(java.lang.String typeName)
        Parameters:
        typeName - CloudFormation resource type name. For example, `AWS::EC2::VPC`. The following arguments are optional:
        Returns:
        builder
      • typeVersionId

        public ResourceArgs.Builder typeVersionId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> typeVersionId)
        Parameters:
        typeVersionId - Identifier of the CloudFormation resource type version.
        Returns:
        builder
      • typeVersionId

        public ResourceArgs.Builder typeVersionId​(java.lang.String typeVersionId)
        Parameters:
        typeVersionId - Identifier of the CloudFormation resource type version.
        Returns:
        builder