Create Product
servicecatalog_create_product | R Documentation |
Creates a product¶
Description¶
Creates a product.
A delegated admin is authorized to invoke this command.
The user or role that performs this operation must have the
cloudformation:GetTemplate
IAM policy permission. This policy
permission is required when using the ImportFromPhysicalId
template
source in the information data section.
Usage¶
servicecatalog_create_product(AcceptLanguage, Name, Owner, Description,
Distributor, SupportDescription, SupportEmail, SupportUrl, ProductType,
Tags, ProvisioningArtifactParameters, IdempotencyToken,
SourceConnection)
Arguments¶
AcceptLanguage |
The language code.
|
Name |
[required] The name of the product. |
Owner |
[required] The owner of the product. |
Description |
The description of the product. |
Distributor |
The distributor of the product. |
SupportDescription |
The support information about the product. |
SupportEmail |
The contact email for product support. |
SupportUrl |
The contact URL for product support.
|
ProductType |
[required] The type of product. |
Tags |
One or more tags. |
ProvisioningArtifactParameters |
The configuration of the provisioning artifact. |
IdempotencyToken |
[required] 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. |
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
|
Value¶
A list with the following syntax:
list(
ProductViewDetail = list(
ProductViewSummary = list(
Id = "string",
ProductId = "string",
Name = "string",
Owner = "string",
ShortDescription = "string",
Type = "CLOUD_FORMATION_TEMPLATE"|"MARKETPLACE"|"TERRAFORM_OPEN_SOURCE"|"TERRAFORM_CLOUD"|"EXTERNAL",
Distributor = "string",
HasDefaultPath = TRUE|FALSE,
SupportEmail = "string",
SupportDescription = "string",
SupportUrl = "string"
),
Status = "AVAILABLE"|"CREATING"|"FAILED",
ProductARN = "string",
CreatedTime = as.POSIXct(
"2015-01-01"
),
SourceConnection = list(
Type = "CODESTAR",
ConnectionParameters = list(
CodeStar = list(
ConnectionArn = "string",
Repository = "string",
Branch = "string",
ArtifactPath = "string"
)
),
LastSync = list(
LastSyncTime = as.POSIXct(
"2015-01-01"
),
LastSyncStatus = "SUCCEEDED"|"FAILED",
LastSyncStatusMessage = "string",
LastSuccessfulSyncTime = as.POSIXct(
"2015-01-01"
),
LastSuccessfulSyncProvisioningArtifactId = "string"
)
)
),
ProvisioningArtifactDetail = list(
Id = "string",
Name = "string",
Description = "string",
Type = "CLOUD_FORMATION_TEMPLATE"|"MARKETPLACE_AMI"|"MARKETPLACE_CAR"|"TERRAFORM_OPEN_SOURCE"|"TERRAFORM_CLOUD"|"EXTERNAL",
CreatedTime = as.POSIXct(
"2015-01-01"
),
Active = TRUE|FALSE,
Guidance = "DEFAULT"|"DEPRECATED",
SourceRevision = "string"
),
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
Request syntax¶
svc$create_product(
AcceptLanguage = "string",
Name = "string",
Owner = "string",
Description = "string",
Distributor = "string",
SupportDescription = "string",
SupportEmail = "string",
SupportUrl = "string",
ProductType = "CLOUD_FORMATION_TEMPLATE"|"MARKETPLACE"|"TERRAFORM_OPEN_SOURCE"|"TERRAFORM_CLOUD"|"EXTERNAL",
Tags = list(
list(
Key = "string",
Value = "string"
)
),
ProvisioningArtifactParameters = list(
Name = "string",
Description = "string",
Info = list(
"string"
),
Type = "CLOUD_FORMATION_TEMPLATE"|"MARKETPLACE_AMI"|"MARKETPLACE_CAR"|"TERRAFORM_OPEN_SOURCE"|"TERRAFORM_CLOUD"|"EXTERNAL",
DisableTemplateValidation = TRUE|FALSE
),
IdempotencyToken = "string",
SourceConnection = list(
Type = "CODESTAR",
ConnectionParameters = list(
CodeStar = list(
ConnectionArn = "string",
Repository = "string",
Branch = "string",
ArtifactPath = "string"
)
)
)
)