Interface CfnGroupMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGroupMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.resourcegroups.*;
CfnGroupMixinProps cfnGroupMixinProps = CfnGroupMixinProps.builder()
.configuration(List.of(ConfigurationItemProperty.builder()
.parameters(List.of(ConfigurationParameterProperty.builder()
.name("name")
.values(List.of("values"))
.build()))
.type("type")
.build()))
.description("description")
.name("name")
.resourceQuery(ResourceQueryProperty.builder()
.query(QueryProperty.builder()
.resourceTypeFilters(List.of("resourceTypeFilters"))
.stackIdentifier("stackIdentifier")
.tagFilters(List.of(TagFilterProperty.builder()
.key("key")
.values(List.of("values"))
.build()))
.build())
.type("type")
.build())
.resources(List.of("resources"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGroupMixinPropsstatic final classAn implementation forCfnGroupMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnGroupMixinProps.Builderbuilder()default ObjectThe service configuration currently associated with the resource group and in effect for the members of the resource group.default StringThe description of the resource group.default StringgetName()The name of a resource group.default ObjectThe resource query structure that is used to dynamically determine which AWS resources are members of the associated resource group.A list of the Amazon Resource Names (ARNs) of AWS resources that you want to add to the specified group.getTags()The tag key and value pairs that are attached to the resource group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfiguration
The service configuration currently associated with the resource group and in effect for the members of the resource group.A
Configurationconsists of one or moreConfigurationItementries. For information about service configurations for resource groups and how to construct them, see Service configurations for resource groups in the Resource Groups User Guide .You can include either a
Configurationor aResourceQuery, but not both.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGroupPropsMixin.ConfigurationItemProperty>- See Also:
-
getDescription
The description of the resource group.- See Also:
-
getName
The name of a resource group.The name must be unique within the AWS Region in which you create the resource. To create multiple resource groups based on the same CloudFormation stack, you must generate unique names for each.
- See Also:
-
getResourceQuery
The resource query structure that is used to dynamically determine which AWS resources are members of the associated resource group.For more information about queries and how to construct them, see Build queries and groups in Resource Groups in the Resource Groups User Guide
- You can include either a
ResourceQueryor aConfiguration, but not both. - You can specify the group's membership either by using a
ResourceQueryor by using a list ofResources, but not both.
Returns union: either
IResolvableorCfnGroupPropsMixin.ResourceQueryProperty- See Also:
- You can include either a
-
getResources
A list of the Amazon Resource Names (ARNs) of AWS resources that you want to add to the specified group.- You can specify the group membership either by using a list of
Resourcesor by using aResourceQuery, but not both. - You can include a
Resourcesproperty only if you also specify aConfigurationproperty.
- See Also:
- You can specify the group membership either by using a list of
-
getTags
The tag key and value pairs that are attached to the resource group.- See Also:
-
builder
- Returns:
- a
CfnGroupMixinProps.BuilderofCfnGroupMixinProps
-