# CustomComponentProperty

The `AWS::ApplicationInsights::Application CustomComponent` property type describes a custom component by grouping similar standalone instances to monitor.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationinsights as applicationinsights } from 'aws-cdk-lib';
const customComponentProperty: applicationinsights.CfnApplication.CustomComponentProperty = {
  componentName: 'componentName',
  resourceList: ['resourceList'],
};
```

Python:

```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_applicationinsights as applicationinsights

custom_component_property = applicationinsights.CfnApplication.CustomComponentProperty(
    component_name="componentName",
    resource_list=["resourceList"]
)
```

Java:

```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.applicationinsights.*;

CustomComponentProperty customComponentProperty = CustomComponentProperty.builder()
        .componentName("componentName")
        .resourceList(List.of("resourceList"))
        .build();
```

C# / .NET:

```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.ApplicationInsights;

var customComponentProperty = new CustomComponentProperty {
    ComponentName = "componentName",
    ResourceList = new [] { "resourceList" }
};
```

Golang:

```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"

customComponentProperty := &CustomComponentProperty{
	ComponentName: jsii.String("componentName"),
	ResourceList: []*string{
		jsii.String("resourceList"),
	},
}
```

## Properties

- `componentName`: string (required) — The name of the component.

- `resourceList`: string[] (required) — The list of resource ARNs that belong to the component.
