Struct aws_sdk_sagemaker::input::CreateWorkforceInput [−][src]
#[non_exhaustive]pub struct CreateWorkforceInput {
pub cognito_config: Option<CognitoConfig>,
pub oidc_config: Option<OidcConfig>,
pub source_ip_config: Option<SourceIpConfig>,
pub workforce_name: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cognito_config: Option<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.
Do not use OidcConfig
if you specify values for
CognitoConfig
.
oidc_config: Option<OidcConfig>
Use this parameter to configure a private workforce using your own OIDC Identity Provider.
Do not use CognitoConfig
if you specify values for
OidcConfig
.
source_ip_config: Option<SourceIpConfig>
A list of IP address ranges (CIDRs). Used to create an allow list of IP addresses for a private workforce. Workers will only be able to login to their worker portal from an IP address within this range. By default, a workforce isn't restricted to specific IP addresses.
workforce_name: Option<String>
The name of the private workforce.
An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each tag consists of a key and a value, both of which you define.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateWorkforce, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateWorkforce, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateWorkforce
>
Creates a new builder-style object to manufacture CreateWorkforceInput
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.
Do not use OidcConfig
if you specify values for
CognitoConfig
.
Use this parameter to configure a private workforce using your own OIDC Identity Provider.
Do not use CognitoConfig
if you specify values for
OidcConfig
.
A list of IP address ranges (CIDRs). Used to create an allow list of IP addresses for a private workforce. Workers will only be able to login to their worker portal from an IP address within this range. By default, a workforce isn't restricted to specific IP addresses.
The name of the private workforce.
An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each tag consists of a key and a value, both of which you define.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateWorkforceInput
impl Send for CreateWorkforceInput
impl Sync for CreateWorkforceInput
impl Unpin for CreateWorkforceInput
impl UnwindSafe for CreateWorkforceInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more