CreateGroupInput

public struct CreateGroupInput : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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. You can specify either a Configuration or a ResourceQuery in a group, but not both.

    Declaration

    Swift

    public let configuration: [GroupConfigurationItem]?
  • The description of the resource group. Descriptions can consist of letters, numbers, hyphens, underscores, periods, and spaces.

    Declaration

    Swift

    public let description: 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.

    Declaration

    Swift

    public let name: String
  • The resource query that determines which AWS resources are members of this group. You can specify either a ResourceQuery or a Configuration, but not both.

    Declaration

    Swift

    public let resourceQuery: ResourceQuery?
  • The tags to add to the group. A tag is key-value pair string.

    Declaration

    Swift

    public let tags: [String : String]?
  • Undocumented

    Declaration

    Swift

    public init(configuration: [GroupConfigurationItem]? = nil, description: String? = nil, name: String, resourceQuery: ResourceQuery? = nil, tags: [String : String]? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws