Struct rusoto_resource_groups::CreateGroupInput
source · [−]pub struct CreateGroupInput {
pub configuration: Option<Vec<GroupConfigurationItem>>,
pub description: Option<String>,
pub name: String,
pub resource_query: Option<ResourceQuery>,
pub tags: Option<HashMap<String, String>>,
}
Fields
configuration: Option<Vec<GroupConfigurationItem>>
A configuration associates the resource group with an AWS service and specifies how the service can interact with the resources in the group. A configuration is an array of GroupConfigurationItem elements. For details about the syntax of service configurations, see Service configurations for resource groups.
A resource group can contain either a Configuration
or a ResourceQuery
, but not both.
description: Option<String>
The description of the resource group. Descriptions can consist of letters, numbers, hyphens, underscores, periods, and spaces.
name: String
The name of the group, which is the identifier of the group in other operations. You can't change the name of a resource group after you create it. A resource group name can consist of letters, numbers, hyphens, periods, and underscores. The name cannot start with AWS
or aws
; these are reserved. A resource group name must be unique within each AWS Region in your AWS account.
resource_query: Option<ResourceQuery>
The resource query that determines which AWS resources are members of this group. For more information about resource queries, see Create a tag-based group in Resource Groups.
A resource group can contain either a ResourceQuery
or a Configuration
, but not both.
The tags to add to the group. A tag is key-value pair string.
Trait Implementations
sourceimpl Clone for CreateGroupInput
impl Clone for CreateGroupInput
sourcefn clone(&self) -> CreateGroupInput
fn clone(&self) -> CreateGroupInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateGroupInput
impl Debug for CreateGroupInput
sourceimpl Default for CreateGroupInput
impl Default for CreateGroupInput
sourcefn default() -> CreateGroupInput
fn default() -> CreateGroupInput
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateGroupInput> for CreateGroupInput
impl PartialEq<CreateGroupInput> for CreateGroupInput
sourcefn eq(&self, other: &CreateGroupInput) -> bool
fn eq(&self, other: &CreateGroupInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateGroupInput) -> bool
fn ne(&self, other: &CreateGroupInput) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateGroupInput
impl Serialize for CreateGroupInput
impl StructuralPartialEq for CreateGroupInput
Auto Trait Implementations
impl RefUnwindSafe for CreateGroupInput
impl Send for CreateGroupInput
impl Sync for CreateGroupInput
impl Unpin for CreateGroupInput
impl UnwindSafe for CreateGroupInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more