Struct aws_sdk_licensemanager::types::Options
source · #[non_exhaustive]pub struct Options {
pub activation_override_behavior: Option<ActivationOverrideBehavior>,
}Expand description
The options you can specify when you create a new version of a grant, such as activation override behavior. For more information, see Granted licenses in License Manager in the License Manager User Guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.activation_override_behavior: Option<ActivationOverrideBehavior>An activation option for your grant that determines the behavior of activating a grant. Activation options can only be used with granted licenses sourced from the Amazon Web Services Marketplace. Additionally, the operation must specify the value of ACTIVE for the Status parameter.
-
As a license administrator, you can optionally specify an
ActivationOverrideBehaviorwhen activating a grant. -
As a grantor, you can optionally specify an
ActivationOverrideBehaviorwhen you activate a grant for a grantee account in your organization. -
As a grantee, if the grantor creating the distributed grant doesn’t specify an
ActivationOverrideBehavior, you can optionally specify one when you are activating the grant.
- DISTRIBUTED_GRANTS_ONLY
-
Use this value to activate a grant without replacing any member account’s active grants for the same product.
- ALL_GRANTS_PERMITTED_BY_ISSUER
-
Use this value to activate a grant and disable other active grants in any member accounts for the same product. This action will also replace their previously activated grants with this activated grant.
Implementations§
source§impl Options
impl Options
sourcepub fn activation_override_behavior(
&self
) -> Option<&ActivationOverrideBehavior>
pub fn activation_override_behavior( &self ) -> Option<&ActivationOverrideBehavior>
An activation option for your grant that determines the behavior of activating a grant. Activation options can only be used with granted licenses sourced from the Amazon Web Services Marketplace. Additionally, the operation must specify the value of ACTIVE for the Status parameter.
-
As a license administrator, you can optionally specify an
ActivationOverrideBehaviorwhen activating a grant. -
As a grantor, you can optionally specify an
ActivationOverrideBehaviorwhen you activate a grant for a grantee account in your organization. -
As a grantee, if the grantor creating the distributed grant doesn’t specify an
ActivationOverrideBehavior, you can optionally specify one when you are activating the grant.
- DISTRIBUTED_GRANTS_ONLY
-
Use this value to activate a grant without replacing any member account’s active grants for the same product.
- ALL_GRANTS_PERMITTED_BY_ISSUER
-
Use this value to activate a grant and disable other active grants in any member accounts for the same product. This action will also replace their previously activated grants with this activated grant.