/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the batch-2016-08-10.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Batch.Model { /// /// The authorization configuration details for the Amazon EFS file system. /// public partial class EFSAuthorizationConfig { private string _accessPointId; private EFSAuthorizationConfigIAM _iam; /// /// Gets and sets the property AccessPointId. /// /// The Amazon EFS access point ID to use. If an access point is specified, the root directory /// value specified in the EFSVolumeConfiguration must either be omitted /// or set to / which enforces the path set on the EFS access point. If an /// access point is used, transit encryption must be enabled in the EFSVolumeConfiguration. /// For more information, see Working /// with Amazon EFS access points in the Amazon Elastic File System User Guide. /// /// public string AccessPointId { get { return this._accessPointId; } set { this._accessPointId = value; } } // Check to see if AccessPointId property is set internal bool IsSetAccessPointId() { return this._accessPointId != null; } /// /// Gets and sets the property Iam. /// /// Whether or not to use the Batch job IAM role defined in a job definition when mounting /// the Amazon EFS file system. If enabled, transit encryption must be enabled in the /// EFSVolumeConfiguration. If this parameter is omitted, the default value /// of DISABLED is used. For more information, see Using /// Amazon EFS access points in the Batch User Guide. EFS IAM authorization /// requires that TransitEncryption be ENABLED and that a JobRoleArn /// is specified. /// /// public EFSAuthorizationConfigIAM Iam { get { return this._iam; } set { this._iam = value; } } // Check to see if Iam property is set internal bool IsSetIam() { return this._iam != null; } } }