WorkforceArgs constructor
- Input<
WorkforceCognitoConfig?> ? cognitoConfig, - Input<
WorkforceOidcConfig?> ? oidcConfig, - Input<
String?> ? region, - Input<
WorkforceSourceIpConfig?> ? sourceIpConfig, - required Input<
String> workforceName, - Input<
WorkforceWorkforceVpcConfig?> ? workforceVpcConfig,
Creates a new WorkforceArgs.
cognitoConfig Use this parameter to configure an Amazon Cognito private workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool. Conflicts with oidcConfig. see Cognito Config details below.
oidcConfig Use this parameter to configure a private workforce using your own OIDC Identity Provider. Conflicts with cognitoConfig. see OIDC Config details below.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
sourceIpConfig A list of IP address ranges Used to create an allow list of IP addresses for a private workforce. By default, a workforce isn't restricted to specific IP addresses. see Source Ip Config details below.
workforceName The name of the Workforce (must be unique).
workforceVpcConfig configure a workforce using VPC. see Workforce VPC Config details below.
Implementation
const WorkforceArgs({
this.cognitoConfig,
this.oidcConfig,
this.region,
this.sourceIpConfig,
required this.workforceName,
this.workforceVpcConfig,
});