Class CfnGroupPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGroupPropsMixin>
- Enclosing class:
CfnGroupPropsMixin
CfnGroupPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()configuration(List<? extends Object> configuration) The service configuration currently associated with the resource group and in effect for the members of the resource group.configuration(IResolvable configuration) The service configuration currently associated with the resource group and in effect for the members of the resource group.static CfnGroupPropsMixin.Buildercreate()static CfnGroupPropsMixin.Buildercreate(CfnPropertyMixinOptions options) description(String description) The description of the resource group.The name of a resource group.resourceQuery(IResolvable resourceQuery) The resource query structure that is used to dynamically determine which AWS resources are members of the associated resource group.resourceQuery(CfnGroupPropsMixin.ResourceQueryProperty resourceQuery) The 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.The tag key and value pairs that are attached to the resource group.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnGroupPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnGroupPropsMixin.Builder.
-
configuration
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.- Parameters:
configuration- The service configuration currently associated with the resource group and in effect for the members of the resource group. This parameter is required.- Returns:
this- See Also:
-
configuration
@Stability(Stable) public CfnGroupPropsMixin.Builder configuration(List<? extends Object> configuration) 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.- Parameters:
configuration- The service configuration currently associated with the resource group and in effect for the members of the resource group. This parameter is required.- Returns:
this- See Also:
-
description
The description of the resource group.- Parameters:
description- The description of the resource group. This parameter is required.- Returns:
this- See Also:
-
name
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.
- Parameters:
name- The name of a resource group. This parameter is required.- Returns:
this- See Also:
-
resourceQuery
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.
- Parameters:
resourceQuery- The resource query structure that is used to dynamically determine which AWS resources are members of the associated resource group. This parameter is required.- Returns:
this- See Also:
- You can include either a
-
resourceQuery
@Stability(Stable) public CfnGroupPropsMixin.Builder resourceQuery(CfnGroupPropsMixin.ResourceQueryProperty resourceQuery) 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.
- Parameters:
resourceQuery- The resource query structure that is used to dynamically determine which AWS resources are members of the associated resource group. This parameter is required.- Returns:
this- See Also:
- You can include either a
-
resources
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.
- Parameters:
resources- A list of the Amazon Resource Names (ARNs) of AWS resources that you want to add to the specified group. This parameter is required.- Returns:
this- See Also:
- You can specify the group membership either by using a list of
-
tags
The tag key and value pairs that are attached to the resource group.- Parameters:
tags- The tag key and value pairs that are attached to the resource group. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGroupPropsMixin>- Returns:
- a newly built instance of
CfnGroupPropsMixin.
-