Package com.pulumi.aws.sagemaker.inputs
Class WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.sagemaker.inputs.WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs.Builder
-
- Enclosing class:
- WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs
public static final class WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgsbuild()WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs.BuildersourceIp(com.pulumi.core.Output<java.lang.String> sourceIp)WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs.BuildersourceIp(java.lang.String sourceIp)WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs.BuildervpcSourceIp(com.pulumi.core.Output<java.lang.String> vpcSourceIp)WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs.BuildervpcSourceIp(java.lang.String vpcSourceIp)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs defaults)
-
-
Method Detail
-
sourceIp
public WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs.Builder sourceIp(@Nullable com.pulumi.core.Output<java.lang.String> sourceIp)
- Parameters:
sourceIp- When SourceIp is Enabled the worker's IP address when a task is rendered in the worker portal is added to the IAM policy as a Condition used to generate the Amazon S3 presigned URL. This IP address is checked by Amazon S3 and must match in order for the Amazon S3 resource to be rendered in the worker portal. Valid values are `Enabled` or `Disabled`- Returns:
- builder
-
sourceIp
public WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs.Builder sourceIp(java.lang.String sourceIp)
- Parameters:
sourceIp- When SourceIp is Enabled the worker's IP address when a task is rendered in the worker portal is added to the IAM policy as a Condition used to generate the Amazon S3 presigned URL. This IP address is checked by Amazon S3 and must match in order for the Amazon S3 resource to be rendered in the worker portal. Valid values are `Enabled` or `Disabled`- Returns:
- builder
-
vpcSourceIp
public WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs.Builder vpcSourceIp(@Nullable com.pulumi.core.Output<java.lang.String> vpcSourceIp)
- Parameters:
vpcSourceIp- When VpcSourceIp is Enabled the worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as a Condition used to generate the Amazon S3 presigned URL. To render the task successfully Amazon S3 checks that the presigned URL is being accessed over an Amazon S3 VPC Endpoint, and that the worker's IP address matches the IP address in the IAM policy. To learn more about configuring private worker portal, see [Use Amazon VPC mode from a private worker portal](https://docs.aws.amazon.com/sagemaker/latest/dg/samurai-vpc-worker-portal.html). Valid values are `Enabled` or `Disabled`- Returns:
- builder
-
vpcSourceIp
public WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs.Builder vpcSourceIp(java.lang.String vpcSourceIp)
- Parameters:
vpcSourceIp- When VpcSourceIp is Enabled the worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as a Condition used to generate the Amazon S3 presigned URL. To render the task successfully Amazon S3 checks that the presigned URL is being accessed over an Amazon S3 VPC Endpoint, and that the worker's IP address matches the IP address in the IAM policy. To learn more about configuring private worker portal, see [Use Amazon VPC mode from a private worker portal](https://docs.aws.amazon.com/sagemaker/latest/dg/samurai-vpc-worker-portal.html). Valid values are `Enabled` or `Disabled`- Returns:
- builder
-
build
public WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs build()
-
-