Skip to content
v2.278.0

ConfigurationItemProperty Struct ​

One of the items in the service configuration assigned to a resource group.

A service configuration can consist of one or more items. For details service configurations and how to construct them, see Service configurations for resource groups in the Resource Groups User Guide .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_resourcegroups as resourcegroups } from 'aws-cdk-lib';
const configurationItemProperty: resourcegroups.CfnGroup.ConfigurationItemProperty = {
  parameters: [{
    name: 'name',
    values: ['values'],
  }],
  type: 'type',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_resourcegroups as resourcegroups

configuration_item_property = resourcegroups.CfnGroup.ConfigurationItemProperty(
    parameters=[resourcegroups.CfnGroup.ConfigurationParameterProperty(
        name="name",
        values=["values"]
    )],
    type="type"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.resourcegroups.*;

ConfigurationItemProperty configurationItemProperty = ConfigurationItemProperty.builder()
        .parameters(List.of(ConfigurationParameterProperty.builder()
                .name("name")
                .values(List.of("values"))
                .build()))
        .type("type")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ResourceGroups;

var configurationItemProperty = new ConfigurationItemProperty {
    Parameters = new [] { new ConfigurationParameterProperty {
        Name = "name",
        Values = new [] { "values" }
    } },
    Type = "type"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

configurationItemProperty := &ConfigurationItemProperty{
	Parameters: []interface{}{
		&ConfigurationParameterProperty{
			Name: jsii.String("name"),
			Values: []*string{
				jsii.String("values"),
			},
		},
	},
	Type: jsii.String("type"),
}

Properties ​

parametersoptionalIResolvable | IResolvable | CfnGroup.ConfigurationParameterProperty[]parametersoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ConfigurationParameterProperty]]]parametersoptionalIResolvableParametersoptionalIResolvableParametersoptionalinterface{} #
A collection of parameters for this configuration item.
notes

For the list of parameters that you can use with each configuration item Type , see Supported resource types and parameters in the Resource Groups User Guide .

typeoptionalstringtypeoptionalstrtypeoptionalStringTypeoptionalstringTypeoptional*string #
Specifies the type of configuration item.
notes

Each item must have a unique value for type. For the list of the types that you can specify for a configuration item, see Supported resource types and parameters in the Resource Groups User Guide .