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: StringThe 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§
Source§impl Clone for CreateGroupInput
impl Clone for CreateGroupInput
Source§fn clone(&self) -> CreateGroupInput
fn clone(&self) -> CreateGroupInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more