Class: AWSCDK::ImageBuilder::CfnImage::ImageLoggingConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ImageBuilder::CfnImage::ImageLoggingConfigurationProperty
- Defined in:
- image_builder/cfn_image.rb
Overview
The logging configuration that's defined for the image.
Image Builder uses the defined settings to direct execution log output during image creation.
Instance Attribute Summary collapse
-
#log_group_name ⇒ String?
readonly
The log group name that Image Builder uses for image creation.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(log_group_name: nil) ⇒ ImageLoggingConfigurationProperty
constructor
A new instance of ImageLoggingConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(log_group_name: nil) ⇒ ImageLoggingConfigurationProperty
Returns a new instance of ImageLoggingConfigurationProperty.
833 834 835 836 |
# File 'image_builder/cfn_image.rb', line 833 def initialize(log_group_name: nil) @log_group_name = log_group_name Jsii::Type.check_type(@log_group_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "logGroupName") unless @log_group_name.nil? end |
Instance Attribute Details
#log_group_name ⇒ String? (readonly)
The log group name that Image Builder uses for image creation.
If not specified, the log group name defaults to /aws/imagebuilder/image-name .
844 845 846 |
# File 'image_builder/cfn_image.rb', line 844 def log_group_name @log_group_name end |
Class Method Details
.jsii_properties ⇒ Object
846 847 848 849 850 |
# File 'image_builder/cfn_image.rb', line 846 def self.jsii_properties { :log_group_name => "logGroupName", } end |
Instance Method Details
#to_jsii ⇒ Object
852 853 854 855 856 857 858 |
# File 'image_builder/cfn_image.rb', line 852 def to_jsii result = {} result.merge!({ "logGroupName" => @log_group_name, }) result.compact end |