Struct aws_sdk_secretsmanager::input::put_resource_policy_input::Builder
source ·
[−]#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for PutResourcePolicyInput
Implementations
The ARN or name of the secret to attach the resource-based policy.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
The ARN or name of the secret to attach the resource-based policy.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
A JSON-formatted string for an Amazon Web Services resource-based policy. For example policies, see Permissions policy examples.
A JSON-formatted string for an Amazon Web Services resource-based policy. For example policies, see Permissions policy examples.
Specifies whether to block resource-based policies that allow broad access to the secret. By default, Secrets Manager blocks policies that allow broad access, for example those that use a wildcard for the principal.
Specifies whether to block resource-based policies that allow broad access to the secret. By default, Secrets Manager blocks policies that allow broad access, for example those that use a wildcard for the principal.
Consumes the builder and constructs a PutResourcePolicyInput
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