Struct aws_sdk_route53resolver::operation::put_resolver_rule_policy::PutResolverRulePolicyInput
source · #[non_exhaustive]pub struct PutResolverRulePolicyInput {
pub arn: Option<String>,
pub resolver_rule_policy: Option<String>,
}
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.arn: Option<String>
The Amazon Resource Name (ARN) of the rule that you want to share with another account.
resolver_rule_policy: Option<String>
An Identity and Access Management policy statement that lists the rules that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the Action
section of the statement:
-
route53resolver:GetResolverRule
-
route53resolver:AssociateResolverRule
-
route53resolver:DisassociateResolverRule
-
route53resolver:ListResolverRules
-
route53resolver:ListResolverRuleAssociations
In the Resource
section of the statement, specify the ARN for the rule that you want to share with another account. Specify the same ARN that you specified in Arn
.
Implementations§
source§impl PutResolverRulePolicyInput
impl PutResolverRulePolicyInput
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the rule that you want to share with another account.
sourcepub fn resolver_rule_policy(&self) -> Option<&str>
pub fn resolver_rule_policy(&self) -> Option<&str>
An Identity and Access Management policy statement that lists the rules that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the Action
section of the statement:
-
route53resolver:GetResolverRule
-
route53resolver:AssociateResolverRule
-
route53resolver:DisassociateResolverRule
-
route53resolver:ListResolverRules
-
route53resolver:ListResolverRuleAssociations
In the Resource
section of the statement, specify the ARN for the rule that you want to share with another account. Specify the same ARN that you specified in Arn
.
source§impl PutResolverRulePolicyInput
impl PutResolverRulePolicyInput
sourcepub fn builder() -> PutResolverRulePolicyInputBuilder
pub fn builder() -> PutResolverRulePolicyInputBuilder
Creates a new builder-style object to manufacture PutResolverRulePolicyInput
.
Trait Implementations§
source§impl Clone for PutResolverRulePolicyInput
impl Clone for PutResolverRulePolicyInput
source§fn clone(&self) -> PutResolverRulePolicyInput
fn clone(&self) -> PutResolverRulePolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutResolverRulePolicyInput
impl Debug for PutResolverRulePolicyInput
source§impl PartialEq for PutResolverRulePolicyInput
impl PartialEq for PutResolverRulePolicyInput
source§fn eq(&self, other: &PutResolverRulePolicyInput) -> bool
fn eq(&self, other: &PutResolverRulePolicyInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutResolverRulePolicyInput
Auto Trait Implementations§
impl Freeze for PutResolverRulePolicyInput
impl RefUnwindSafe for PutResolverRulePolicyInput
impl Send for PutResolverRulePolicyInput
impl Sync for PutResolverRulePolicyInput
impl Unpin for PutResolverRulePolicyInput
impl UnwindSafe for PutResolverRulePolicyInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more