WorkforceState constructor
- Input<
String?> ? arn, - Input<
WorkforceCognitoConfig?> ? cognitoConfig, - Input<
WorkforceOidcConfig?> ? oidcConfig, - Input<
String?> ? region, - Input<
WorkforceSourceIpConfig?> ? sourceIpConfig, - Input<
String?> ? subdomain, - Input<
String?> ? workforceName, - Input<
WorkforceWorkforceVpcConfig?> ? workforceVpcConfig,
Creates a new WorkforceState.
arn ARN assigned by AWS to this Workforce.
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.
subdomain The subdomain for your OIDC Identity Provider.
workforceName The name of the Workforce (must be unique).
workforceVpcConfig configure a workforce using VPC. see Workforce VPC Config details below.
Implementation
const WorkforceState({
this.arn,
this.cognitoConfig,
this.oidcConfig,
this.region,
this.sourceIpConfig,
this.subdomain,
this.workforceName,
this.workforceVpcConfig,
});