# FleetProxyRuleProperty

Struct · External

Information about the proxy rule for your reserved capacity instances.

- Source: Generated at build time
- Type last changed: v2.168.0 · 20 Nov 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_codebuild as codebuild } from 'aws-cdk-lib';
const fleetProxyRuleProperty: codebuild.CfnFleet.FleetProxyRuleProperty = {
  effect: 'effect',
  entities: ['entities'],
  type: 'type',
};
```

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_codebuild as codebuild

fleet_proxy_rule_property = codebuild.CfnFleet.FleetProxyRuleProperty(
    effect="effect",
    entities=["entities"],
    type="type"
)
```

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

FleetProxyRuleProperty fleetProxyRuleProperty = FleetProxyRuleProperty.builder()
        .effect("effect")
        .entities(List.of("entities"))
        .type("type")
        .build();
```

C#:

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

var fleetProxyRuleProperty = new FleetProxyRuleProperty {
    Effect = "effect",
    Entities = new [] { "entities" },
    Type = "type"
};
```

Go:

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

fleetProxyRuleProperty := &FleetProxyRuleProperty{
	Effect: jsii.String("effect"),
	Entities: []*string{
		jsii.String("entities"),
	},
	Type: jsii.String("type"),
}
```

## Properties

- `effect`: string — The behavior of the proxy rule.

- `entities`: string[] — The destination of the proxy rule.

- `type`: string — The type of proxy rule.
