Class: Aws::AccessAnalyzer::Types::RdsDbSnapshotAttributeValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::AccessAnalyzer::Types::RdsDbSnapshotAttributeValue
- Defined in:
- gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb
Overview
RdsDbSnapshotAttributeValue is a union - when making an API calls you must set exactly one of the members.
RdsDbSnapshotAttributeValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RdsDbSnapshotAttributeValue corresponding to the set member.
The name and values of a manual Amazon RDS DB snapshot attribute. Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts to restore a manual DB snapshot.
Direct Known Subclasses
Defined Under Namespace
Classes: AccountIds, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#account_ids ⇒ Array<String>
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#account_ids ⇒ Array<String>
The Amazon Web Services account IDs that have access to the manual
Amazon RDS DB snapshot. If the value all
is specified, then the
Amazon RDS DB snapshot is public and can be copied or restored by
all Amazon Web Services accounts.
If the configuration is for an existing Amazon RDS DB snapshot and you do not specify the
accountIds
inRdsDbSnapshotAttributeValue
, then the access preview uses the existing sharedaccountIds
for the snapshot.If the access preview is for a new resource and you do not specify the specify the
accountIds
inRdsDbSnapshotAttributeValue
, then the access preview considers the snapshot without any attributes.To propose deletion of an existing shared
accountIds
, you can specify an empty list foraccountIds
in theRdsDbSnapshotAttributeValue
.
3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 |
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3344 class RdsDbSnapshotAttributeValue < Struct.new( :account_ids, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AccountIds < RdsDbSnapshotAttributeValue; end class Unknown < RdsDbSnapshotAttributeValue; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
3344 3345 3346 |
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3344 def unknown @unknown end |