Class: AWSCDK::IoTSiteWise::CfnAccessPolicy::IAMUserProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTSiteWise::CfnAccessPolicy::IAMUserProperty
- Defined in:
- io_t_site_wise/cfn_access_policy.rb
Overview
Contains information about an AWS Identity and Access Management user.
Instance Attribute Summary collapse
-
#arn ⇒ String?
readonly
The ARN of the IAM user.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn: nil) ⇒ IAMUserProperty
constructor
A new instance of IAMUserProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn: nil) ⇒ IAMUserProperty
Returns a new instance of IAMUserProperty.
712 713 714 715 |
# File 'io_t_site_wise/cfn_access_policy.rb', line 712 def initialize(arn: nil) @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") unless @arn.nil? end |
Instance Attribute Details
#arn ⇒ String? (readonly)
The ARN of the IAM user. For more information, see IAM ARNs in the IAM User Guide .
If you delete the IAM user, access policies that contain this identity include an empty
arn. You can delete the access policy for the IAM user that no longer exists.
723 724 725 |
# File 'io_t_site_wise/cfn_access_policy.rb', line 723 def arn @arn end |
Class Method Details
.jsii_properties ⇒ Object
725 726 727 728 729 |
# File 'io_t_site_wise/cfn_access_policy.rb', line 725 def self.jsii_properties { :arn => "arn", } end |
Instance Method Details
#to_jsii ⇒ Object
731 732 733 734 735 736 737 |
# File 'io_t_site_wise/cfn_access_policy.rb', line 731 def to_jsii result = {} result.merge!({ "arn" => @arn, }) result.compact end |