Class AccountAuditConfiguration
(experimental) Defines AWS IoT Audit Configuration.
Inherited Members
Namespace: Amazon.CDK.AWS.IoT.Alpha
Assembly: Amazon.CDK.AWS.IoT.Alpha.dll
Syntax (csharp)
public class AccountAuditConfiguration : Resource, IAccountAuditConfiguration, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class AccountAuditConfiguration Inherits Resource Implements IAccountAuditConfiguration, IResource, IConstruct, IDependable, IEnvironmentAware
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK;
new AccountAuditConfiguration(this, "AuditConfiguration", new AccountAuditConfigurationProps {
CheckConfiguration = new CheckConfiguration {
DeviceCertificateAgeCheck = true,
// The default value is 365 days
// Valid values range from 30 days (minimum) to 3650 days (10 years, maximum)
DeviceCertificateAgeCheckDuration = Duration.Days(365)
}
});
Synopsis
Constructors
| AccountAuditConfiguration(Construct, string, IAccountAuditConfigurationProps?) | (experimental) Defines AWS IoT Audit Configuration. |
Properties
| AccountId | (experimental) The account ID. |
| PROPERTY_INJECTION_ID | (experimental) Uniquely identifies this class. |
Methods
| FromAccountId(Construct, string, string) | (experimental) Import an existing AWS IoT Audit Configuration. |
Constructors
AccountAuditConfiguration(Construct, string, IAccountAuditConfigurationProps?)
(experimental) Defines AWS IoT Audit Configuration.
public AccountAuditConfiguration(Construct scope, string id, IAccountAuditConfigurationProps? props = null)
Parameters
- scope Construct
- id string
- props IAccountAuditConfigurationProps
Remarks
Stability: Experimental
Properties
AccountId
(experimental) The account ID.
public virtual string AccountId { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
Stability: Experimental
Methods
FromAccountId(Construct, string, string)
(experimental) Import an existing AWS IoT Audit Configuration.
public static IAccountAuditConfiguration FromAccountId(Construct scope, string id, string accountId)
Parameters
- scope Construct
The parent creating construct (usually
this).- id string
The construct's name.
- accountId string
The account ID.
Returns
Remarks
Stability: Experimental
Implements
Constructs.IConstruct
Constructs.IDependable