We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 17, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 17, 2026 by Pulumi
Resource Type definition for AWS::SageMaker::Workforce. Use to create a private workforce that you can use to label your training data using Amazon SageMaker Ground Truth.
Using getWorkforce
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWorkforce(args: GetWorkforceArgs, opts?: InvokeOptions): Promise<GetWorkforceResult>
function getWorkforceOutput(args: GetWorkforceOutputArgs, opts?: InvokeOutputOptions): Output<GetWorkforceResult>def get_workforce(workforce_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkforceResult
def get_workforce_output(workforce_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetWorkforceResult]func LookupWorkforce(ctx *Context, args *LookupWorkforceArgs, opts ...InvokeOption) (*LookupWorkforceResult, error)
func LookupWorkforceOutput(ctx *Context, args *LookupWorkforceOutputArgs, opts ...InvokeOption) LookupWorkforceResultOutput> Note: This function is named LookupWorkforce in the Go SDK.
public static class GetWorkforce
{
public static Task<GetWorkforceResult> InvokeAsync(GetWorkforceArgs args, InvokeOptions? opts = null)
public static Output<GetWorkforceResult> Invoke(GetWorkforceInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetWorkforceResult> Invoke(GetWorkforceInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetWorkforceResult> getWorkforce(GetWorkforceArgs args, InvokeOptions options)
public static Output<GetWorkforceResult> getWorkforce(GetWorkforceArgs args, InvokeOptions options)
public static Output<GetWorkforceResult> getWorkforce(GetWorkforceArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:sagemaker:getWorkforce
arguments:
# arguments dictionarydata "aws-native_sagemaker_get_workforce" "name" {
# arguments
}The following arguments are supported:
- Workforce
Arn string - The Amazon Resource Name (ARN) of the private workforce.
- Workforce
Arn string - The Amazon Resource Name (ARN) of the private workforce.
- workforce_
arn string - The Amazon Resource Name (ARN) of the private workforce.
- workforce
Arn String - The Amazon Resource Name (ARN) of the private workforce.
- workforce
Arn string - The Amazon Resource Name (ARN) of the private workforce.
- workforce_
arn str - The Amazon Resource Name (ARN) of the private workforce.
- workforce
Arn String - The Amazon Resource Name (ARN) of the private workforce.
getWorkforce Result
The following output properties are available:
- Ip
Address Pulumi.Type Aws Native. Sage Maker. Workforce Ip Address Type - The IP address type for the workforce. IPv4 only or dualstack (IPv4 and IPv6).
- Oidc
Config Pulumi.Aws Native. Sage Maker. Outputs. Workforce Oidc Config - Source
Ip Pulumi.Config Aws Native. Sage Maker. Outputs. Workforce Source Ip Config - Sub
Domain string - The subdomain for your OIDC Identity Provider.
-
List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs.
- Workforce
Arn string - The Amazon Resource Name (ARN) of the private workforce.
- Workforce
Vpc Pulumi.Config Aws Native. Sage Maker. Outputs. Workforce Vpc Config Request
- Ip
Address WorkforceType Ip Address Type - The IP address type for the workforce. IPv4 only or dualstack (IPv4 and IPv6).
- Oidc
Config WorkforceOidc Config - Source
Ip WorkforceConfig Source Ip Config - Sub
Domain string - The subdomain for your OIDC Identity Provider.
- Tag
- An array of key-value pairs.
- Workforce
Arn string - The Amazon Resource Name (ARN) of the private workforce.
- Workforce
Vpc WorkforceConfig Vpc Config Request
- ip_
address_ "ipv4" | "dualstack"type - The IP address type for the workforce. IPv4 only or dualstack (IPv4 and IPv6).
- oidc_
config object - source_
ip_ objectconfig - sub_
domain string - The subdomain for your OIDC Identity Provider.
- list(object)
- An array of key-value pairs.
- workforce_
arn string - The Amazon Resource Name (ARN) of the private workforce.
- workforce_
vpc_ objectconfig
- ip
Address WorkforceType Ip Address Type - The IP address type for the workforce. IPv4 only or dualstack (IPv4 and IPv6).
- oidc
Config WorkforceOidc Config - source
Ip WorkforceConfig Source Ip Config - sub
Domain String - The subdomain for your OIDC Identity Provider.
- List<Tag>
- An array of key-value pairs.
- workforce
Arn String - The Amazon Resource Name (ARN) of the private workforce.
- workforce
Vpc WorkforceConfig Vpc Config Request
- ip
Address WorkforceType Ip Address Type - The IP address type for the workforce. IPv4 only or dualstack (IPv4 and IPv6).
- oidc
Config WorkforceOidc Config - source
Ip WorkforceConfig Source Ip Config - sub
Domain string - The subdomain for your OIDC Identity Provider.
- Tag[]
- An array of key-value pairs.
- workforce
Arn string - The Amazon Resource Name (ARN) of the private workforce.
- workforce
Vpc WorkforceConfig Vpc Config Request
- ip_
address_ Workforcetype Ip Address Type - The IP address type for the workforce. IPv4 only or dualstack (IPv4 and IPv6).
- oidc_
config WorkforceOidc Config - source_
ip_ Workforceconfig Source Ip Config - sub_
domain str - The subdomain for your OIDC Identity Provider.
- Sequence[root_Tag]
- An array of key-value pairs.
- workforce_
arn str - The Amazon Resource Name (ARN) of the private workforce.
- workforce_
vpc_ Workforceconfig Vpc Config Request
- ip
Address "ipv4" | "dualstack"Type - The IP address type for the workforce. IPv4 only or dualstack (IPv4 and IPv6).
- oidc
Config Property Map - source
Ip Property MapConfig - sub
Domain String - The subdomain for your OIDC Identity Provider.
- List<Property Map>
- An array of key-value pairs.
- workforce
Arn String - The Amazon Resource Name (ARN) of the private workforce.
- workforce
Vpc Property MapConfig
Supporting Types
Tag
WorkforceIpAddressType
WorkforceOidcConfig
- string
- The OIDC IdP authorization endpoint used to configure your private workforce.
- Client
Id string - The OIDC IdP client ID used to configure your private workforce.
- Issuer string
- The OIDC IdP issuer used to configure your private workforce.
- Jwks
Uri string - The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.
- Logout
Endpoint string - The OIDC IdP logout endpoint used to configure your private workforce.
- Token
Endpoint string - The OIDC IdP token endpoint used to configure your private workforce.
- User
Info stringEndpoint - The OIDC IdP user info endpoint used to configure your private workforce.
- Authentication
Request Dictionary<string, string>Extra Params - A string to string map of identifiers specific to the custom identity provider (IdP) being used.
- Client
Secret string - The OIDC IdP client secret used to configure your private workforce.
- Scope string
- An array of string identifiers used to refer to the specific pieces of user data or claims that the client application wants to access.
- string
- The OIDC IdP authorization endpoint used to configure your private workforce.
- Client
Id string - The OIDC IdP client ID used to configure your private workforce.
- Issuer string
- The OIDC IdP issuer used to configure your private workforce.
- Jwks
Uri string - The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.
- Logout
Endpoint string - The OIDC IdP logout endpoint used to configure your private workforce.
- Token
Endpoint string - The OIDC IdP token endpoint used to configure your private workforce.
- User
Info stringEndpoint - The OIDC IdP user info endpoint used to configure your private workforce.
- Authentication
Request map[string]stringExtra Params - A string to string map of identifiers specific to the custom identity provider (IdP) being used.
- Client
Secret string - The OIDC IdP client secret used to configure your private workforce.
- Scope string
- An array of string identifiers used to refer to the specific pieces of user data or claims that the client application wants to access.
- string
- The OIDC IdP authorization endpoint used to configure your private workforce.
- client_
id string - The OIDC IdP client ID used to configure your private workforce.
- issuer string
- The OIDC IdP issuer used to configure your private workforce.
- jwks_
uri string - The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.
- logout_
endpoint string - The OIDC IdP logout endpoint used to configure your private workforce.
- token_
endpoint string - The OIDC IdP token endpoint used to configure your private workforce.
- user_
info_ stringendpoint - The OIDC IdP user info endpoint used to configure your private workforce.
- authentication_
request_ map(string)extra_ params - A string to string map of identifiers specific to the custom identity provider (IdP) being used.
- client_
secret string - The OIDC IdP client secret used to configure your private workforce.
- scope string
- An array of string identifiers used to refer to the specific pieces of user data or claims that the client application wants to access.
- String
- The OIDC IdP authorization endpoint used to configure your private workforce.
- client
Id String - The OIDC IdP client ID used to configure your private workforce.
- issuer String
- The OIDC IdP issuer used to configure your private workforce.
- jwks
Uri String - The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.
- logout
Endpoint String - The OIDC IdP logout endpoint used to configure your private workforce.
- token
Endpoint String - The OIDC IdP token endpoint used to configure your private workforce.
- user
Info StringEndpoint - The OIDC IdP user info endpoint used to configure your private workforce.
- authentication
Request Map<String,String>Extra Params - A string to string map of identifiers specific to the custom identity provider (IdP) being used.
- client
Secret String - The OIDC IdP client secret used to configure your private workforce.
- scope String
- An array of string identifiers used to refer to the specific pieces of user data or claims that the client application wants to access.
- string
- The OIDC IdP authorization endpoint used to configure your private workforce.
- client
Id string - The OIDC IdP client ID used to configure your private workforce.
- issuer string
- The OIDC IdP issuer used to configure your private workforce.
- jwks
Uri string - The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.
- logout
Endpoint string - The OIDC IdP logout endpoint used to configure your private workforce.
- token
Endpoint string - The OIDC IdP token endpoint used to configure your private workforce.
- user
Info stringEndpoint - The OIDC IdP user info endpoint used to configure your private workforce.
- authentication
Request {[key: string]: string}Extra Params - A string to string map of identifiers specific to the custom identity provider (IdP) being used.
- client
Secret string - The OIDC IdP client secret used to configure your private workforce.
- scope string
- An array of string identifiers used to refer to the specific pieces of user data or claims that the client application wants to access.
- str
- The OIDC IdP authorization endpoint used to configure your private workforce.
- client_
id str - The OIDC IdP client ID used to configure your private workforce.
- issuer str
- The OIDC IdP issuer used to configure your private workforce.
- jwks_
uri str - The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.
- logout_
endpoint str - The OIDC IdP logout endpoint used to configure your private workforce.
- token_
endpoint str - The OIDC IdP token endpoint used to configure your private workforce.
- user_
info_ strendpoint - The OIDC IdP user info endpoint used to configure your private workforce.
- authentication_
request_ Mapping[str, str]extra_ params - A string to string map of identifiers specific to the custom identity provider (IdP) being used.
- client_
secret str - The OIDC IdP client secret used to configure your private workforce.
- scope str
- An array of string identifiers used to refer to the specific pieces of user data or claims that the client application wants to access.
- String
- The OIDC IdP authorization endpoint used to configure your private workforce.
- client
Id String - The OIDC IdP client ID used to configure your private workforce.
- issuer String
- The OIDC IdP issuer used to configure your private workforce.
- jwks
Uri String - The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.
- logout
Endpoint String - The OIDC IdP logout endpoint used to configure your private workforce.
- token
Endpoint String - The OIDC IdP token endpoint used to configure your private workforce.
- user
Info StringEndpoint - The OIDC IdP user info endpoint used to configure your private workforce.
- authentication
Request Map<String>Extra Params - A string to string map of identifiers specific to the custom identity provider (IdP) being used.
- client
Secret String - The OIDC IdP client secret used to configure your private workforce.
- scope String
- An array of string identifiers used to refer to the specific pieces of user data or claims that the client application wants to access.
WorkforceSourceIpConfig
- Cidrs List<string>
- A list of one to ten Classless Inter-Domain Routing (CIDR) values.
- Cidrs []string
- A list of one to ten Classless Inter-Domain Routing (CIDR) values.
- cidrs list(string)
- A list of one to ten Classless Inter-Domain Routing (CIDR) values.
- cidrs List<String>
- A list of one to ten Classless Inter-Domain Routing (CIDR) values.
- cidrs string[]
- A list of one to ten Classless Inter-Domain Routing (CIDR) values.
- cidrs Sequence[str]
- A list of one to ten Classless Inter-Domain Routing (CIDR) values.
- cidrs List<String>
- A list of one to ten Classless Inter-Domain Routing (CIDR) values.
WorkforceVpcConfigRequest
- Security
Group List<string>Ids - The VPC security group IDs.
- Subnets List<string>
- The VPC subnets.
- Vpc
Id string - The ID of the VPC.
- Security
Group []stringIds - The VPC security group IDs.
- Subnets []string
- The VPC subnets.
- Vpc
Id string - The ID of the VPC.
- security_
group_ list(string)ids - The VPC security group IDs.
- subnets list(string)
- The VPC subnets.
- vpc_
id string - The ID of the VPC.
- security
Group List<String>Ids - The VPC security group IDs.
- subnets List<String>
- The VPC subnets.
- vpc
Id String - The ID of the VPC.
- security
Group string[]Ids - The VPC security group IDs.
- subnets string[]
- The VPC subnets.
- vpc
Id string - The ID of the VPC.
- security_
group_ Sequence[str]ids - The VPC security group IDs.
- subnets Sequence[str]
- The VPC subnets.
- vpc_
id str - The ID of the VPC.
- security
Group List<String>Ids - The VPC security group IDs.
- subnets List<String>
- The VPC subnets.
- vpc
Id String - The ID of the VPC.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 17, 2026 by Pulumi