Class: AWSCDK::SSO::CfnPermissionSet::CustomerManagedPolicyReferenceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSO::CfnPermissionSet::CustomerManagedPolicyReferenceProperty
- Defined in:
- sso/cfn_permission_set.rb
Overview
Specifies the name and path of a customer managed policy.
You must have an IAM policy that matches the name and path in each AWS account where you want to deploy your permission set.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
-
#path ⇒ String?
readonly
The path to the IAM policy that you have configured in each account where you want to deploy your permission set.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, path: nil) ⇒ CustomerManagedPolicyReferenceProperty
constructor
A new instance of CustomerManagedPolicyReferenceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, path: nil) ⇒ CustomerManagedPolicyReferenceProperty
Returns a new instance of CustomerManagedPolicyReferenceProperty.
638 639 640 641 642 643 |
# File 'sso/cfn_permission_set.rb', line 638 def initialize(name:, path: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @path = path Jsii::Type.check_type(@path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "path") unless @path.nil? end |
Instance Attribute Details
#name ⇒ String (readonly)
The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
649 650 651 |
# File 'sso/cfn_permission_set.rb', line 649 def name @name end |
#path ⇒ String? (readonly)
The path to the IAM policy that you have configured in each account where you want to deploy your permission set.
The default is / . For more information, see Friendly names and paths in the IAM User Guide .
656 657 658 |
# File 'sso/cfn_permission_set.rb', line 656 def path @path end |
Class Method Details
.jsii_properties ⇒ Object
658 659 660 661 662 663 |
# File 'sso/cfn_permission_set.rb', line 658 def self.jsii_properties { :name => "name", :path => "path", } end |
Instance Method Details
#to_jsii ⇒ Object
665 666 667 668 669 670 671 672 |
# File 'sso/cfn_permission_set.rb', line 665 def to_jsii result = {} result.merge!({ "name" => @name, "path" => @path, }) result.compact end |