/* * 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 securitylake-2018-05-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.SecurityLake.Model { /// /// The configurations for HTTPS subscriber notification. /// public partial class HttpsNotificationConfiguration { private string _authorizationApiKeyName; private string _authorizationApiKeyValue; private string _endpoint; private HttpMethod _httpMethod; private string _targetRoleArn; /// /// Gets and sets the property AuthorizationApiKeyName. /// /// The key name for the notification subscription. /// /// public string AuthorizationApiKeyName { get { return this._authorizationApiKeyName; } set { this._authorizationApiKeyName = value; } } // Check to see if AuthorizationApiKeyName property is set internal bool IsSetAuthorizationApiKeyName() { return this._authorizationApiKeyName != null; } /// /// Gets and sets the property AuthorizationApiKeyValue. /// /// The key value for the notification subscription. /// /// public string AuthorizationApiKeyValue { get { return this._authorizationApiKeyValue; } set { this._authorizationApiKeyValue = value; } } // Check to see if AuthorizationApiKeyValue property is set internal bool IsSetAuthorizationApiKeyValue() { return this._authorizationApiKeyValue != null; } /// /// Gets and sets the property Endpoint. /// /// The subscription endpoint in Security Lake. If you prefer notification with an HTTPs /// endpoint, populate this field. /// /// [AWSProperty(Required=true)] public string Endpoint { get { return this._endpoint; } set { this._endpoint = value; } } // Check to see if Endpoint property is set internal bool IsSetEndpoint() { return this._endpoint != null; } /// /// Gets and sets the property HttpMethod. /// /// The HTTPS method used for the notification subscription. /// /// public HttpMethod HttpMethod { get { return this._httpMethod; } set { this._httpMethod = value; } } // Check to see if HttpMethod property is set internal bool IsSetHttpMethod() { return this._httpMethod != null; } /// /// Gets and sets the property TargetRoleArn. /// /// The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you /// created. For more information about ARNs and how to use them in policies, see Managing /// data access and Amazon /// Web Services Managed Policies in the Amazon Security Lake User Guide. /// /// [AWSProperty(Required=true)] public string TargetRoleArn { get { return this._targetRoleArn; } set { this._targetRoleArn = value; } } // Check to see if TargetRoleArn property is set internal bool IsSetTargetRoleArn() { return this._targetRoleArn != null; } } }