Skip to content
v2.278.0

FleetProxyRuleProperty Struct ​

Information about the proxy rule for your reserved capacity instances.

Example ​

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
# 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
// 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();
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
// 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 ​

effectoptionalstringeffectoptionalstreffectoptionalStringEffectoptionalstringEffectoptional*string #
The behavior of the proxy rule.
entitiesoptionalstring[]entitiesoptionaltyping.List[str]entitiesoptionalList<String>Entitiesoptionalstring[]Entitiesoptional*[]*string #
The destination of the proxy rule.
typeoptionalstringtypeoptionalstrtypeoptionalStringTypeoptionalstringTypeoptional*string #
The type of proxy rule.