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
.
3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 |
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3259 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
3259 3260 3261 |
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3259 def unknown @unknown end |