Class: AWSCDK::LakeFormation::CfnPrincipalPermissions::DataLocationResourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::LakeFormation::CfnPrincipalPermissions::DataLocationResourceProperty
- Defined in:
- lake_formation/cfn_principal_permissions.rb
Overview
A structure for a data location object where permissions are granted or revoked.
Instance Attribute Summary collapse
-
#catalog_id ⇒ String
readonly
The identifier for the Data Catalog where the location is registered with AWS Lake Formation .
-
#resource_arn ⇒ String
readonly
The Amazon Resource Name (ARN) that uniquely identifies the data location resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(catalog_id:, resource_arn:) ⇒ DataLocationResourceProperty
constructor
A new instance of DataLocationResourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(catalog_id:, resource_arn:) ⇒ DataLocationResourceProperty
Returns a new instance of DataLocationResourceProperty.
700 701 702 703 704 705 |
# File 'lake_formation/cfn_principal_permissions.rb', line 700 def initialize(catalog_id:, resource_arn:) @catalog_id = catalog_id Jsii::Type.check_type(@catalog_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "catalogId") @resource_arn = resource_arn Jsii::Type.check_type(@resource_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceArn") end |
Instance Attribute Details
#catalog_id ⇒ String (readonly)
The identifier for the Data Catalog where the location is registered with AWS Lake Formation .
711 712 713 |
# File 'lake_formation/cfn_principal_permissions.rb', line 711 def catalog_id @catalog_id end |
#resource_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) that uniquely identifies the data location resource.
716 717 718 |
# File 'lake_formation/cfn_principal_permissions.rb', line 716 def resource_arn @resource_arn end |
Class Method Details
.jsii_properties ⇒ Object
718 719 720 721 722 723 |
# File 'lake_formation/cfn_principal_permissions.rb', line 718 def self.jsii_properties { :catalog_id => "catalogId", :resource_arn => "resourceArn", } end |
Instance Method Details
#to_jsii ⇒ Object
725 726 727 728 729 730 731 732 |
# File 'lake_formation/cfn_principal_permissions.rb', line 725 def to_jsii result = {} result.merge!({ "catalogId" => @catalog_id, "resourceArn" => @resource_arn, }) result.compact end |