Class: AWSCDK::AuditManager::CfnAssessment::DelegationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AuditManager::CfnAssessment::DelegationProperty
- Defined in:
- audit_manager/cfn_assessment.rb
Overview
The Delegation property type specifies the assignment of a control set to a delegate for review.
Instance Attribute Summary collapse
-
#assessment_id ⇒ String?
readonly
The identifier for the assessment that's associated with the delegation.
-
#assessment_name ⇒ String?
readonly
The name of the assessment that's associated with the delegation.
-
#comment ⇒ String?
readonly
The comment that's related to the delegation.
-
#control_set_id ⇒ String?
readonly
The identifier for the control set that's associated with the delegation.
-
#created_by ⇒ String?
readonly
The user or role that created the delegation.
-
#creation_time ⇒ Numeric?
readonly
Specifies when the delegation was created.
-
#id ⇒ String?
readonly
The unique identifier for the delegation.
-
#last_updated ⇒ Numeric?
readonly
Specifies when the delegation was last updated.
-
#role_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the IAM role.
-
#role_type ⇒ String?
readonly
The type of customer persona.
-
#status ⇒ String?
readonly
The status of the delegation.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(assessment_id: nil, assessment_name: nil, comment: nil, control_set_id: nil, created_by: nil, creation_time: nil, id: nil, last_updated: nil, role_arn: nil, role_type: nil, status: nil) ⇒ DelegationProperty
constructor
A new instance of DelegationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(assessment_id: nil, assessment_name: nil, comment: nil, control_set_id: nil, created_by: nil, creation_time: nil, id: nil, last_updated: nil, role_arn: nil, role_type: nil, status: nil) ⇒ DelegationProperty
Returns a new instance of DelegationProperty.
820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 |
# File 'audit_manager/cfn_assessment.rb', line 820 def initialize(assessment_id: nil, assessment_name: nil, comment: nil, control_set_id: nil, created_by: nil, creation_time: nil, id: nil, last_updated: nil, role_arn: nil, role_type: nil, status: nil) @assessment_id = assessment_id Jsii::Type.check_type(@assessment_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "assessmentId") unless @assessment_id.nil? @assessment_name = assessment_name Jsii::Type.check_type(@assessment_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "assessmentName") unless @assessment_name.nil? @comment = comment Jsii::Type.check_type(@comment, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "comment") unless @comment.nil? @control_set_id = control_set_id Jsii::Type.check_type(@control_set_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "controlSetId") unless @control_set_id.nil? @created_by = created_by Jsii::Type.check_type(@created_by, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "createdBy") unless @created_by.nil? @creation_time = creation_time Jsii::Type.check_type(@creation_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "creationTime") unless @creation_time.nil? @id = id Jsii::Type.check_type(@id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") unless @id.nil? @last_updated = last_updated Jsii::Type.check_type(@last_updated, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "lastUpdated") unless @last_updated.nil? @role_arn = role_arn Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") unless @role_arn.nil? @role_type = role_type Jsii::Type.check_type(@role_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleType") unless @role_type.nil? @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.nil? end |
Instance Attribute Details
#assessment_id ⇒ String? (readonly)
The identifier for the assessment that's associated with the delegation.
849 850 851 |
# File 'audit_manager/cfn_assessment.rb', line 849 def assessment_id @assessment_id end |
#assessment_name ⇒ String? (readonly)
The name of the assessment that's associated with the delegation.
854 855 856 |
# File 'audit_manager/cfn_assessment.rb', line 854 def assessment_name @assessment_name end |
#comment ⇒ String? (readonly)
The comment that's related to the delegation.
859 860 861 |
# File 'audit_manager/cfn_assessment.rb', line 859 def comment @comment end |
#control_set_id ⇒ String? (readonly)
The identifier for the control set that's associated with the delegation.
864 865 866 |
# File 'audit_manager/cfn_assessment.rb', line 864 def control_set_id @control_set_id end |
#created_by ⇒ String? (readonly)
The user or role that created the delegation.
Minimum : 1
Maximum : 100
Pattern : ^[a-zA-Z0-9-_()\\[\\]\\s]+$
875 876 877 |
# File 'audit_manager/cfn_assessment.rb', line 875 def created_by @created_by end |
#creation_time ⇒ Numeric? (readonly)
Specifies when the delegation was created.
880 881 882 |
# File 'audit_manager/cfn_assessment.rb', line 880 def creation_time @creation_time end |
#id ⇒ String? (readonly)
The unique identifier for the delegation.
885 886 887 |
# File 'audit_manager/cfn_assessment.rb', line 885 def id @id end |
#last_updated ⇒ Numeric? (readonly)
Specifies when the delegation was last updated.
890 891 892 |
# File 'audit_manager/cfn_assessment.rb', line 890 def last_updated @last_updated end |
#role_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the IAM role.
895 896 897 |
# File 'audit_manager/cfn_assessment.rb', line 895 def role_arn @role_arn end |
#role_type ⇒ String? (readonly)
The type of customer persona.
In
CreateAssessment,role_typecan only bePROCESS_OWNER.In
UpdateSettings,role_typecan only bePROCESS_OWNER.In
BatchCreateDelegationByAssessment,role_typecan only beRESOURCE_OWNER.
906 907 908 |
# File 'audit_manager/cfn_assessment.rb', line 906 def role_type @role_type end |
#status ⇒ String? (readonly)
The status of the delegation.
911 912 913 |
# File 'audit_manager/cfn_assessment.rb', line 911 def status @status end |
Class Method Details
.jsii_properties ⇒ Object
913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 |
# File 'audit_manager/cfn_assessment.rb', line 913 def self.jsii_properties { :assessment_id => "assessmentId", :assessment_name => "assessmentName", :comment => "comment", :control_set_id => "controlSetId", :created_by => "createdBy", :creation_time => "creationTime", :id => "id", :last_updated => "lastUpdated", :role_arn => "roleArn", :role_type => "roleType", :status => "status", } end |
Instance Method Details
#to_jsii ⇒ Object
929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 |
# File 'audit_manager/cfn_assessment.rb', line 929 def to_jsii result = {} result.merge!({ "assessmentId" => @assessment_id, "assessmentName" => @assessment_name, "comment" => @comment, "controlSetId" => @control_set_id, "createdBy" => @created_by, "creationTime" => @creation_time, "id" => @id, "lastUpdated" => @last_updated, "roleArn" => @role_arn, "roleType" => @role_type, "status" => @status, }) result.compact end |