# IcmpTypeCodeProperty

ICMP protocol: The ICMP type and code.

- Source: Generated at build time
- Type last changed: v2.163.0 · 22 Oct 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fms as fms } from 'aws-cdk-lib';
const icmpTypeCodeProperty: fms.CfnPolicy.IcmpTypeCodeProperty = {
  code: 123,
  type: 123,
};
```

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_fms as fms

icmp_type_code_property = fms.CfnPolicy.IcmpTypeCodeProperty(
    code=123,
    type=123
)
```

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.fms.*;

IcmpTypeCodeProperty icmpTypeCodeProperty = IcmpTypeCodeProperty.builder()
        .code(123)
        .type(123)
        .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.FMS;

var icmpTypeCodeProperty = new IcmpTypeCodeProperty {
    Code = 123,
    Type = 123
};
```

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"

icmpTypeCodeProperty := &IcmpTypeCodeProperty{
	Code: jsii.Number(123),
	Type: jsii.Number(123),
}
```

## Properties

- `code`: number (required) — ICMP code.

- `type`: number (required) — ICMP type.
