Class: AWSCDK::Sagemaker::CfnDeviceFleet::EdgeOutputConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnDeviceFleet::EdgeOutputConfigProperty
- Defined in:
- sagemaker/cfn_device_fleet.rb
Overview
The output configuration for storing sample data collected by the fleet.
Instance Attribute Summary collapse
-
#kms_key_id ⇒ String?
readonly
The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job.
-
#s3_output_location ⇒ String
readonly
The Amazon Simple Storage (S3) bucket URI.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_output_location:, kms_key_id: nil) ⇒ EdgeOutputConfigProperty
constructor
A new instance of EdgeOutputConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_output_location:, kms_key_id: nil) ⇒ EdgeOutputConfigProperty
Returns a new instance of EdgeOutputConfigProperty.
578 579 580 581 582 583 |
# File 'sagemaker/cfn_device_fleet.rb', line 578 def initialize(s3_output_location:, kms_key_id: nil) @s3_output_location = s3_output_location Jsii::Type.check_type(@s3_output_location, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3OutputLocation") @kms_key_id = kms_key_id Jsii::Type.check_type(@kms_key_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsKeyId") unless @kms_key_id.nil? end |
Instance Attribute Details
#kms_key_id ⇒ String? (readonly)
The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job.
If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account.
596 597 598 |
# File 'sagemaker/cfn_device_fleet.rb', line 596 def kms_key_id @kms_key_id end |
#s3_output_location ⇒ String (readonly)
The Amazon Simple Storage (S3) bucket URI.
589 590 591 |
# File 'sagemaker/cfn_device_fleet.rb', line 589 def s3_output_location @s3_output_location end |
Class Method Details
.jsii_properties ⇒ Object
598 599 600 601 602 603 |
# File 'sagemaker/cfn_device_fleet.rb', line 598 def self.jsii_properties { :s3_output_location => "s3OutputLocation", :kms_key_id => "kmsKeyId", } end |
Instance Method Details
#to_jsii ⇒ Object
605 606 607 608 609 610 611 612 |
# File 'sagemaker/cfn_device_fleet.rb', line 605 def to_jsii result = {} result.merge!({ "s3OutputLocation" => @s3_output_location, "kmsKeyId" => @kms_key_id, }) result.compact end |