pub struct CreateResourceShareRequest {
pub allow_external_principals: Option<bool>,
pub client_token: Option<String>,
pub name: String,
pub permission_arns: Option<Vec<String>>,
pub principals: Option<Vec<String>>,
pub resource_arns: Option<Vec<String>>,
pub tags: Option<Vec<Tag>>,
}Fields§
§allow_external_principals: Option<bool>Indicates whether principals outside your AWS organization can be associated with a resource share.
client_token: Option<String>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
name: StringThe name of the resource share.
permission_arns: Option<Vec<String>>The ARNs of the permissions to associate with the resource share. If you do not specify an ARN for the permission, AWS RAM automatically attaches the default version of the permission for each resource type.
principals: Option<Vec<String>>The principals to associate with the resource share. The possible values are IDs of AWS accounts, the ARN of an OU or organization from AWS Organizations.
resource_arns: Option<Vec<String>>The Amazon Resource Names (ARN) of the resources to associate with the resource share.
One or more tags.
Trait Implementations§
Source§fn clone(&self) -> CreateResourceShareRequest
fn clone(&self) -> CreateResourceShareRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn default() -> CreateResourceShareRequest
fn default() -> CreateResourceShareRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more