Class: AWSCDK::Sagemaker::CfnDeviceFleet::EdgeOutputConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_device_fleet.rb

Overview

The output configuration for storing sample data collected by the fleet.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s3_output_location:, kms_key_id: nil) ⇒ EdgeOutputConfigProperty

Returns a new instance of EdgeOutputConfigProperty.

Parameters:

  • s3_output_location (String)

    The Amazon Simple Storage (S3) bucket URI.

  • kms_key_id (String, nil) (defaults to: nil)

    The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job.



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_idString? (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_locationString (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_propertiesObject



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_jsiiObject



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