#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for Scope
Implementations
The name of the scope.
The following scopes are possible:
-
Organization- Specifies that the recommendation preference applies at the organization level, for all member accounts of an organization. -
AccountId- Specifies that the recommendation preference applies at the account level, for all resources of a given resource type in an account. -
ResourceArn- Specifies that the recommendation preference applies at the individual resource level.
The name of the scope.
The following scopes are possible:
-
Organization- Specifies that the recommendation preference applies at the organization level, for all member accounts of an organization. -
AccountId- Specifies that the recommendation preference applies at the account level, for all resources of a given resource type in an account. -
ResourceArn- Specifies that the recommendation preference applies at the individual resource level.
The value of the scope.
If you specified the name of the scope as:
-
Organization- Thevaluemust beALL_ACCOUNTS. -
AccountId- Thevaluemust be a 12-digit Amazon Web Services account ID. -
ResourceArn- Thevaluemust be the Amazon Resource Name (ARN) of an EC2 instance or an Auto Scaling group.
Only EC2 instance and Auto Scaling group ARNs are currently supported.
The value of the scope.
If you specified the name of the scope as:
-
Organization- Thevaluemust beALL_ACCOUNTS. -
AccountId- Thevaluemust be a 12-digit Amazon Web Services account ID. -
ResourceArn- Thevaluemust be the Amazon Resource Name (ARN) of an EC2 instance or an Auto Scaling group.
Only EC2 instance and Auto Scaling group ARNs are currently supported.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more