@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IamPolicyConstraints extends Object implements Serializable, Cloneable, StructuredPojo
Use this parameter to specify a supported global condition key that is added to the IAM policy.
| Constructor and Description |
|---|
IamPolicyConstraints() |
| Modifier and Type | Method and Description |
|---|---|
IamPolicyConstraints |
clone() |
boolean |
equals(Object obj) |
String |
getSourceIp()
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. |
String |
getVpcSourceIp()
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. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSourceIp(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. |
void |
setVpcSourceIp(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. |
String |
toString()
Returns a string representation of this object.
|
IamPolicyConstraints |
withSourceIp(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. |
IamPolicyConstraints |
withSourceIp(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. |
IamPolicyConstraints |
withVpcSourceIp(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. |
IamPolicyConstraints |
withVpcSourceIp(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. |
public void setSourceIp(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.
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.EnabledOrDisabledpublic String getSourceIp()
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.
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.EnabledOrDisabledpublic IamPolicyConstraints withSourceIp(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.
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.EnabledOrDisabledpublic IamPolicyConstraints withSourceIp(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.
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.EnabledOrDisabledpublic void setVpcSourceIp(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.
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.EnabledOrDisabledpublic String getVpcSourceIp()
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.
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.EnabledOrDisabledpublic IamPolicyConstraints withVpcSourceIp(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.
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.EnabledOrDisabledpublic IamPolicyConstraints withVpcSourceIp(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.
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.EnabledOrDisabledpublic String toString()
toString in class ObjectObject.toString()public IamPolicyConstraints clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.