Class: AWSCDK::FraudDetector::CfnEventType::LabelProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::FraudDetector::CfnEventType::LabelProperty
- Defined in:
- fraud_detector/cfn_event_type.rb
Overview
The label associated with the event type.
Instance Attribute Summary collapse
-
#arn ⇒ String?
readonly
The label ARN.
-
#created_time ⇒ String?
readonly
Timestamp of when the event type was created.
-
#description ⇒ String?
readonly
The label description.
-
#inline ⇒ Boolean, ...
readonly
Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack.
-
#last_updated_time ⇒ String?
readonly
Timestamp of when the label was last updated.
-
#name ⇒ String?
readonly
The label name.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
An array of key-value pairs to apply to this resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn: nil, created_time: nil, description: nil, inline: nil, last_updated_time: nil, name: nil, tags: nil) ⇒ LabelProperty
constructor
A new instance of LabelProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn: nil, created_time: nil, description: nil, inline: nil, last_updated_time: nil, name: nil, tags: nil) ⇒ LabelProperty
Returns a new instance of LabelProperty.
854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 |
# File 'fraud_detector/cfn_event_type.rb', line 854 def initialize(arn: nil, created_time: nil, description: nil, inline: nil, last_updated_time: nil, name: nil, tags: nil) @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") unless @arn.nil? @created_time = created_time Jsii::Type.check_type(@created_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "createdTime") unless @created_time.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @inline = inline Jsii::Type.check_type(@inline, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "inline") unless @inline.nil? @last_updated_time = last_updated_time Jsii::Type.check_type(@last_updated_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "lastUpdatedTime") unless @last_updated_time.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#arn ⇒ String? (readonly)
The label ARN.
875 876 877 |
# File 'fraud_detector/cfn_event_type.rb', line 875 def arn @arn end |
#created_time ⇒ String? (readonly)
Timestamp of when the event type was created.
880 881 882 |
# File 'fraud_detector/cfn_event_type.rb', line 880 def created_time @created_time end |
#description ⇒ String? (readonly)
The label description.
885 886 887 |
# File 'fraud_detector/cfn_event_type.rb', line 885 def description @description end |
#inline ⇒ Boolean, ... (readonly)
Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack.
If the value is true , CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is false , CloudFormation will validate that the object exists and then use it within the resource without making changes to the object.
For example, when creating AWS::FraudDetector::EventType you must define at least two variables. You can set Inline=true for these variables and CloudFormation will create/update/delete the variables as part of stack operations. However, if you set Inline=false , CloudFormation will associate the variables to your EventType but not execute any changes to the variables.
894 895 896 |
# File 'fraud_detector/cfn_event_type.rb', line 894 def inline @inline end |
#last_updated_time ⇒ String? (readonly)
Timestamp of when the label was last updated.
899 900 901 |
# File 'fraud_detector/cfn_event_type.rb', line 899 def last_updated_time @last_updated_time end |
#name ⇒ String? (readonly)
The label name.
904 905 906 |
# File 'fraud_detector/cfn_event_type.rb', line 904 def name @name end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
An array of key-value pairs to apply to this resource.
For more information, see Tag .
911 912 913 |
# File 'fraud_detector/cfn_event_type.rb', line 911 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
913 914 915 916 917 918 919 920 921 922 923 |
# File 'fraud_detector/cfn_event_type.rb', line 913 def self.jsii_properties { :arn => "arn", :created_time => "createdTime", :description => "description", :inline => "inline", :last_updated_time => "lastUpdatedTime", :name => "name", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
925 926 927 928 929 930 931 932 933 934 935 936 937 |
# File 'fraud_detector/cfn_event_type.rb', line 925 def to_jsii result = {} result.merge!({ "arn" => @arn, "createdTime" => @created_time, "description" => @description, "inline" => @inline, "lastUpdatedTime" => @last_updated_time, "name" => @name, "tags" => @tags, }) result.compact end |