Interface CfnWorkforceProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnWorkforceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:18.847Z") @Stability(Stable) public interface CfnWorkforceProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnWorkforce.

Example:

 // 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.*;
 CfnWorkforceProps cfnWorkforceProps = CfnWorkforceProps.builder()
         .workforceName("workforceName")
         // the properties below are optional
         .cognitoConfig(CognitoConfigProperty.builder()
                 .clientId("clientId")
                 .userPool("userPool")
                 .build())
         .ipAddressType("ipAddressType")
         .oidcConfig(OidcConfigProperty.builder()
                 .authorizationEndpoint("authorizationEndpoint")
                 .clientId("clientId")
                 .issuer("issuer")
                 .jwksUri("jwksUri")
                 .logoutEndpoint("logoutEndpoint")
                 .tokenEndpoint("tokenEndpoint")
                 .userInfoEndpoint("userInfoEndpoint")
                 // the properties below are optional
                 .authenticationRequestExtraParams(Map.of(
                         "authenticationRequestExtraParamsKey", "authenticationRequestExtraParams"))
                 .clientSecret("clientSecret")
                 .scope("scope")
                 .build())
         .sourceIpConfig(SourceIpConfigProperty.builder()
                 .cidrs(List.of("cidrs"))
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .workforceVpcConfig(WorkforceVpcConfigRequestProperty.builder()
                 .securityGroupIds(List.of("securityGroupIds"))
                 .subnets(List.of("subnets"))
                 .vpcId("vpcId")
                 .build())
         .build();
 

See Also: