Class: Aws::Proton::Types::CreateServiceTemplateVersionInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb

Overview

Note:

When making an API call, you may pass CreateServiceTemplateVersionInput data as a hash:

{
  client_token: "ClientToken",
  compatible_environment_templates: [ # required
    {
      major_version: "TemplateVersionPart", # required
      template_name: "ResourceName", # required
    },
  ],
  description: "Description",
  major_version: "TemplateVersionPart",
  source: { # required
    s3: {
      bucket: "S3Bucket", # required
      key: "S3Key", # required
    },
  },
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
  template_name: "ResourceName", # required
}

Constant Summary collapse

SENSITIVE =
[:description]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

When included, if two identical requests are made with the same client token, Proton returns the service template version that the first request created.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


951
952
953
954
955
956
957
958
959
960
961
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 951

class CreateServiceTemplateVersionInput < Struct.new(
  :client_token,
  :compatible_environment_templates,
  :description,
  :major_version,
  :source,
  :tags,
  :template_name)
  SENSITIVE = [:description]
  include Aws::Structure
end

#compatible_environment_templatesArray<Types::CompatibleEnvironmentTemplateInput>

An array of compatible environment template objects for the new version of a service template.



951
952
953
954
955
956
957
958
959
960
961
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 951

class CreateServiceTemplateVersionInput < Struct.new(
  :client_token,
  :compatible_environment_templates,
  :description,
  :major_version,
  :source,
  :tags,
  :template_name)
  SENSITIVE = [:description]
  include Aws::Structure
end

#descriptionString

A description of the new version of a service template.

Returns:

  • (String)


951
952
953
954
955
956
957
958
959
960
961
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 951

class CreateServiceTemplateVersionInput < Struct.new(
  :client_token,
  :compatible_environment_templates,
  :description,
  :major_version,
  :source,
  :tags,
  :template_name)
  SENSITIVE = [:description]
  include Aws::Structure
end

#major_versionString

To create a new minor version of the service template, include a major Version.

To create a new major and minor version of the service template, exclude major Version.

Returns:

  • (String)


951
952
953
954
955
956
957
958
959
960
961
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 951

class CreateServiceTemplateVersionInput < Struct.new(
  :client_token,
  :compatible_environment_templates,
  :description,
  :major_version,
  :source,
  :tags,
  :template_name)
  SENSITIVE = [:description]
  include Aws::Structure
end

#sourceTypes::TemplateVersionSourceInput

An object that includes the template bundle S3 bucket path and name for the new version of a service template.



951
952
953
954
955
956
957
958
959
960
961
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 951

class CreateServiceTemplateVersionInput < Struct.new(
  :client_token,
  :compatible_environment_templates,
  :description,
  :major_version,
  :source,
  :tags,
  :template_name)
  SENSITIVE = [:description]
  include Aws::Structure
end

#tagsArray<Types::Tag>

Create tags for a new version of a service template.

Returns:



951
952
953
954
955
956
957
958
959
960
961
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 951

class CreateServiceTemplateVersionInput < Struct.new(
  :client_token,
  :compatible_environment_templates,
  :description,
  :major_version,
  :source,
  :tags,
  :template_name)
  SENSITIVE = [:description]
  include Aws::Structure
end

#template_nameString

The name of the service template.

Returns:

  • (String)


951
952
953
954
955
956
957
958
959
960
961
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 951

class CreateServiceTemplateVersionInput < Struct.new(
  :client_token,
  :compatible_environment_templates,
  :description,
  :major_version,
  :source,
  :tags,
  :template_name)
  SENSITIVE = [:description]
  include Aws::Structure
end