/* * 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 fms-2018-01-01.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.FMS.Model { /// /// Container for the parameters to the PutNotificationChannel operation. /// Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall /// Manager uses to record SNS logs. /// /// /// /// To perform this action outside of the console, you must first configure the SNS topic's /// access policy to allow the SnsRoleName to publish SNS logs. If the SnsRoleName /// provided is a role other than the AWSServiceRoleForFMS service-linked /// role, this role must have a trust relationship configured to allow the Firewall Manager /// service principal fms.amazonaws.com to assume this role. For information /// about configuring an SNS access policy, see Service /// roles for Firewall Manager in the Firewall Manager Developer Guide. /// /// public partial class PutNotificationChannelRequest : AmazonFMSRequest { private string _snsRoleName; private string _snsTopicArn; /// /// Gets and sets the property SnsRoleName. /// /// The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record Firewall /// Manager activity. /// /// [AWSProperty(Required=true, Min=1, Max=1024)] public string SnsRoleName { get { return this._snsRoleName; } set { this._snsRoleName = value; } } // Check to see if SnsRoleName property is set internal bool IsSetSnsRoleName() { return this._snsRoleName != null; } /// /// Gets and sets the property SnsTopicArn. /// /// The Amazon Resource Name (ARN) of the SNS topic that collects notifications from Firewall /// Manager. /// /// [AWSProperty(Required=true, Min=1, Max=1024)] public string SnsTopicArn { get { return this._snsTopicArn; } set { this._snsTopicArn = value; } } // Check to see if SnsTopicArn property is set internal bool IsSetSnsTopicArn() { return this._snsTopicArn != null; } } }