Class: Aws::ServiceCatalog::Types::CreateProductInput

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

Overview

Note:

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

{
  accept_language: "AcceptLanguage",
  name: "ProductViewName", # required
  owner: "ProductViewOwner", # required
  description: "ProductViewShortDescription",
  distributor: "ProductViewOwner",
  support_description: "SupportDescription",
  support_email: "SupportEmail",
  support_url: "SupportUrl",
  product_type: "CLOUD_FORMATION_TEMPLATE", # required, accepts CLOUD_FORMATION_TEMPLATE, MARKETPLACE
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
  provisioning_artifact_parameters: {
    name: "ProvisioningArtifactName",
    description: "ProvisioningArtifactDescription",
    info: {
      "ProvisioningArtifactInfoKey" => "ProvisioningArtifactInfoValue",
    },
    type: "CLOUD_FORMATION_TEMPLATE", # accepts CLOUD_FORMATION_TEMPLATE, MARKETPLACE_AMI, MARKETPLACE_CAR
    disable_template_validation: false,
  },
  idempotency_token: "IdempotencyToken", # required
  source_connection: {
    type: "CODESTAR", # accepts CODESTAR
    connection_parameters: { # required
      code_star: {
        connection_arn: "CodeStarConnectionArn", # required
        repository: "Repository", # required
        branch: "RepositoryBranch", # required
        artifact_path: "RepositoryArtifactPath", # required
      },
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accept_languageString

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Returns:

  • (String)


1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 1103

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token,
  :source_connection)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the product.

Returns:

  • (String)


1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 1103

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token,
  :source_connection)
  SENSITIVE = []
  include Aws::Structure
end

#distributorString

The distributor of the product.

Returns:

  • (String)


1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 1103

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token,
  :source_connection)
  SENSITIVE = []
  include Aws::Structure
end

#idempotency_tokenString

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

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

Returns:

  • (String)


1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 1103

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token,
  :source_connection)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the product.

Returns:

  • (String)


1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 1103

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token,
  :source_connection)
  SENSITIVE = []
  include Aws::Structure
end

#ownerString

The owner of the product.

Returns:

  • (String)


1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 1103

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token,
  :source_connection)
  SENSITIVE = []
  include Aws::Structure
end

#product_typeString

The type of product.

Returns:

  • (String)


1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 1103

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token,
  :source_connection)
  SENSITIVE = []
  include Aws::Structure
end

#provisioning_artifact_parametersTypes::ProvisioningArtifactProperties

The configuration of the provisioning artifact.



1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 1103

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token,
  :source_connection)
  SENSITIVE = []
  include Aws::Structure
end

#source_connectionTypes::SourceConnection

Specifies connection details for the created product and syncs the product to the connection source artifact. This automatically manages the product's artifacts based on changes to the source. The SourceConnection parameter consists of the following sub-fields.

  • Type

  • ConnectionParamters



1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 1103

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token,
  :source_connection)
  SENSITIVE = []
  include Aws::Structure
end

#support_descriptionString

The support information about the product.

Returns:

  • (String)


1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 1103

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token,
  :source_connection)
  SENSITIVE = []
  include Aws::Structure
end

#support_emailString

The contact email for product support.

Returns:

  • (String)


1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 1103

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token,
  :source_connection)
  SENSITIVE = []
  include Aws::Structure
end

#support_urlString

The contact URL for product support.

^https?:\/\/// is the pattern used to validate SupportUrl.

Returns:

  • (String)


1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 1103

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token,
  :source_connection)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

One or more tags.

Returns:



1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 1103

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token,
  :source_connection)
  SENSITIVE = []
  include Aws::Structure
end