Interface ValidateTemplateRequest.Builder

    • Method Detail

      • templateBody

        ValidateTemplateRequest.Builder templateBody​(String templateBody)

        Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.

        Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

        Parameters:
        templateBody - Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.

        Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • templateURL

        ValidateTemplateRequest.Builder templateURL​(String templateURL)

        Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide.

        Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

        Parameters:
        templateURL - Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide.

        Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

        Returns:
        Returns a reference to this object so that method calls can be chained together.