Skip to content
v2.278.0

ProxyConfigurationProperty Struct ​

Information about the proxy configurations that apply network access control to 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 proxyConfigurationProperty: codebuild.CfnFleet.ProxyConfigurationProperty = {
  defaultBehavior: 'defaultBehavior',
  orderedProxyRules: [{
    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

proxy_configuration_property = codebuild.CfnFleet.ProxyConfigurationProperty(
    default_behavior="defaultBehavior",
    ordered_proxy_rules=[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.*;

ProxyConfigurationProperty proxyConfigurationProperty = ProxyConfigurationProperty.builder()
        .defaultBehavior("defaultBehavior")
        .orderedProxyRules(List.of(FleetProxyRuleProperty.builder()
                .effect("effect")
                .entities(List.of("entities"))
                .type("type")
                .build()))
        .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 proxyConfigurationProperty = new ProxyConfigurationProperty {
    DefaultBehavior = "defaultBehavior",
    OrderedProxyRules = new [] { 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"

proxyConfigurationProperty := &ProxyConfigurationProperty{
	DefaultBehavior: jsii.String("defaultBehavior"),
	OrderedProxyRules: []interface{}{
		&FleetProxyRuleProperty{
			Effect: jsii.String("effect"),
			Entities: []*string{
				jsii.String("entities"),
			},
			Type: jsii.String("type"),
		},
	},
}

Properties ​

defaultBehavioroptionalstringdefault_behavioroptionalstrdefaultBehavioroptionalStringDefaultBehavioroptionalstringDefaultBehavioroptional*string #
The default behavior of outgoing traffic.
orderedProxyRulesoptionalIResolvable | IResolvable | CfnFleet.FleetProxyRuleProperty[]ordered_proxy_rulesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, FleetProxyRuleProperty]]]orderedProxyRulesoptionalIResolvableOrderedProxyRulesoptionalIResolvableOrderedProxyRulesoptionalinterface{} #
An array of `FleetProxyRule` objects that represent the specified destination domains or IPs to allow or deny network access control to.