Skip to content
v2.278.0

SourceIpConfigProperty Struct ​

A list of IP address ranges used to access your training data.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const sourceIpConfigProperty: sagemaker.CfnWorkforce.SourceIpConfigProperty = {
  cidrs: ['cidrs'],
};
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_sagemaker as sagemaker

source_ip_config_property = sagemaker.CfnWorkforce.SourceIpConfigProperty(
    cidrs=["cidrs"]
)
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.sagemaker.*;

SourceIpConfigProperty sourceIpConfigProperty = SourceIpConfigProperty.builder()
        .cidrs(List.of("cidrs"))
        .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.Sagemaker;

var sourceIpConfigProperty = new SourceIpConfigProperty {
    Cidrs = new [] { "cidrs" }
};
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"

sourceIpConfigProperty := &SourceIpConfigProperty{
	Cidrs: []*string{
		jsii.String("cidrs"),
	},
}

Properties ​

cidrsstring[]cidrstyping.List[str]cidrsList<String>Cidrsstring[]Cidrs*[]*string required #
A list of one to ten Classless Inter-Domain Routing (CIDR) values.