Class: AWSCDK::Sagemaker::CfnProject::ServiceCatalogProvisionedProductDetailsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnProject::ServiceCatalogProvisionedProductDetailsProperty
- Defined in:
- sagemaker/cfn_project.rb
Overview
Details of a provisioned service catalog product.
For information about service catalog, see What is AWS Service Catalog .
Instance Attribute Summary collapse
-
#provisioned_product_id ⇒ String?
readonly
The ID of the provisioned product.
-
#provisioned_product_status_message ⇒ String?
readonly
The current status of the product.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(provisioned_product_id: nil, provisioned_product_status_message: nil) ⇒ ServiceCatalogProvisionedProductDetailsProperty
constructor
A new instance of ServiceCatalogProvisionedProductDetailsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(provisioned_product_id: nil, provisioned_product_status_message: nil) ⇒ ServiceCatalogProvisionedProductDetailsProperty
Returns a new instance of ServiceCatalogProvisionedProductDetailsProperty.
763 764 765 766 767 768 |
# File 'sagemaker/cfn_project.rb', line 763 def initialize(provisioned_product_id: nil, provisioned_product_status_message: nil) @provisioned_product_id = provisioned_product_id Jsii::Type.check_type(@provisioned_product_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "provisionedProductId") unless @provisioned_product_id.nil? @provisioned_product_status_message = Jsii::Type.check_type(@provisioned_product_status_message, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "provisionedProductStatusMessage") unless @provisioned_product_status_message.nil? end |
Instance Attribute Details
#provisioned_product_id ⇒ String? (readonly)
The ID of the provisioned product.
774 775 776 |
# File 'sagemaker/cfn_project.rb', line 774 def provisioned_product_id @provisioned_product_id end |
#provisioned_product_status_message ⇒ String? (readonly)
The current status of the product.
AVAILABLE- Stable state, ready to perform any operation. The most recent operation succeeded and completed.UNDER_CHANGE- Transitive state. Operations performed might not have valid results. Wait for an AVAILABLE status before performing operations.TAINTED- Stable state, ready to perform any operation. The stack has completed the requested operation but is not exactly what was requested. For example, a request to update to a new version failed and the stack rolled back to the current version.ERROR- An unexpected error occurred. The provisioned product exists but the stack is not running. For example, CloudFormation received a parameter value that was not valid and could not launch the stack.PLAN_IN_PROGRESS- Transitive state. The plan operations were performed to provision a new product, but resources have not yet been created. After reviewing the list of resources to be created, execute the plan. Wait for an AVAILABLE status before performing operations.
785 786 787 |
# File 'sagemaker/cfn_project.rb', line 785 def @provisioned_product_status_message end |
Class Method Details
.jsii_properties ⇒ Object
787 788 789 790 791 792 |
# File 'sagemaker/cfn_project.rb', line 787 def self.jsii_properties { :provisioned_product_id => "provisionedProductId", :provisioned_product_status_message => "provisionedProductStatusMessage", } end |
Instance Method Details
#to_jsii ⇒ Object
794 795 796 797 798 799 800 801 |
# File 'sagemaker/cfn_project.rb', line 794 def to_jsii result = {} result.merge!({ "provisionedProductId" => @provisioned_product_id, "provisionedProductStatusMessage" => @provisioned_product_status_message, }) result.compact end |