/* * 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 ecr-2015-09-21.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.ECR.Model { /// /// Container for the parameters to the PutReplicationConfiguration operation. /// Creates or updates the replication configuration for a registry. The existing replication /// configuration for a repository can be retrieved with the DescribeRegistry API /// action. The first time the PutReplicationConfiguration API is called, a service-linked /// IAM role is created in your account for the replication process. For more information, /// see Using /// service-linked roles for Amazon ECR in the Amazon Elastic Container Registry /// User Guide. /// /// /// /// When configuring cross-account replication, the destination account must grant the /// source account permission to replicate. This permission is controlled using a registry /// permissions policy. For more information, see PutRegistryPolicy. /// /// /// public partial class PutReplicationConfigurationRequest : AmazonECRRequest { private ReplicationConfiguration _replicationConfiguration; /// /// Gets and sets the property ReplicationConfiguration. /// /// An object representing the replication configuration for a registry. /// /// [AWSProperty(Required=true)] public ReplicationConfiguration ReplicationConfiguration { get { return this._replicationConfiguration; } set { this._replicationConfiguration = value; } } // Check to see if ReplicationConfiguration property is set internal bool IsSetReplicationConfiguration() { return this._replicationConfiguration != null; } } }