WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs

data class WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs(val sourceIp: Output<String>? = null, val vpcSourceIp: Output<String>? = null) : ConvertibleToJava<WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs>

Constructors

constructor(sourceIp: Output<String>? = null, vpcSourceIp: Output<String>? = null)

Properties

Link copied to clipboard
val sourceIp: Output<String>? = null

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

Link copied to clipboard
val vpcSourceIp: Output<String>? = null

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. Valid values are Enabled or Disabled

Functions

Link copied to clipboard
open override fun toJava(): WorkteamWorkerAccessConfigurationS3PresignIamPolicyConstraintsArgs