# SpacerProps

Props of the spacer.

Used as props by: [Spacer](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudwatch.Spacer.html)

- Source: [`aws-cloudwatch/lib/layout.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-cloudwatch/lib/layout.ts#L163)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as cloudwatch } from 'aws-cdk-lib';
const spacerProps: cloudwatch.SpacerProps = {
  height: 123,
  width: 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_cloudwatch as cloudwatch

spacer_props = cloudwatch.SpacerProps(
    height=123,
    width=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.cloudwatch.*;

SpacerProps spacerProps = SpacerProps.builder()
        .height(123)
        .width(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.CloudWatch;

var spacerProps = new SpacerProps {
    Height = 123,
    Width = 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"

spacerProps := &SpacerProps{
	Height: jsii.Number(123),
	Width: jsii.Number(123),
}
```

## Properties

- `height`: number — Height of the spacer.

  **Default:** : 1

- `width`: number = 1 — Width of the spacer.
