Interface IamPolicyConstraints.Builder

    • Method Detail

      • sourceIp

        IamPolicyConstraints.Builder sourceIp​(String 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.

        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EnabledOrDisabled, EnabledOrDisabled
      • sourceIp

        IamPolicyConstraints.Builder sourceIp​(EnabledOrDisabled 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.

        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EnabledOrDisabled, EnabledOrDisabled
      • vpcSourceIp

        IamPolicyConstraints.Builder vpcSourceIp​(String 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.

        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EnabledOrDisabled, EnabledOrDisabled
      • vpcSourceIp

        IamPolicyConstraints.Builder vpcSourceIp​(EnabledOrDisabled 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.

        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EnabledOrDisabled, EnabledOrDisabled