AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Use this parameter to specify a supported global condition key that is added to the IAM policy.

Inheritance Hierarchy

System.Object
  Amazon.SageMaker.Model.IamPolicyConstraints

Namespace: Amazon.SageMaker.Model
Assembly: AWSSDK.SageMaker.dll
Version: 3.x.y.z

Syntax

C#
public class IamPolicyConstraints

The IamPolicyConstraints type exposes the following members

Constructors

NameDescription
Public Method IamPolicyConstraints()

Properties

NameTypeDescription
Public Property SourceIp Amazon.SageMaker.EnabledOrDisabled

Gets and sets the property 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.

Public Property VpcSourceIp Amazon.SageMaker.EnabledOrDisabled

Gets and sets the property 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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5