Class CfnDiscovery
If you have existing
AWS::ApplicationSignals::Discoveryresources that were created prior to the Application Map release, you will need to delete and recreate these resources in your account to enable Application Map.
Inherited Members
Namespace: Amazon.CDK.AWS.ApplicationSignals
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDiscovery : CfnResource, IInspectable, IDiscoveryRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnDiscovery Inherits CfnResource Implements IInspectable, IDiscoveryRef, IConstruct, IDependable, IEnvironmentAware
Remarks
Enables this AWS account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role. This service-linked role has the following permissions:
A service-linked CloudTrail event channel is created to process CloudTrail events and return change event information. This includes last deployment time, userName, eventName, and other event metadata.
After completing this step, you still need to instrument your Java and Python applications to send data to Application Signals. For more information, see Enabling Application Signals .
CloudformationResource: AWS::ApplicationSignals::Discovery
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ApplicationSignals;
var cfnDiscovery = new CfnDiscovery(this, "MyCfnDiscovery", new CfnDiscoveryProps { });
Synopsis
Constructors
| CfnDiscovery(Construct, string, ICfnDiscoveryProps?) | Create a new |
Properties
| AttrAccountId | The 12 digit AWS Account ID for the account. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | If you have existing |
| CfnPropertyNames | If you have existing |
| DiscoveryRef | A reference to a Discovery resource. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnDiscovery(object) | Checks whether the given object is a CfnDiscovery. |
| RenderProperties(IDictionary<string, object>) | If you have existing |
Constructors
CfnDiscovery(Construct, string, ICfnDiscoveryProps?)
Create a new AWS::ApplicationSignals::Discovery.
public CfnDiscovery(Construct scope, string id, ICfnDiscoveryProps? props = null)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnDiscoveryProps
Resource properties.
Remarks
Enables this AWS account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role. This service-linked role has the following permissions:
A service-linked CloudTrail event channel is created to process CloudTrail events and return change event information. This includes last deployment time, userName, eventName, and other event metadata.
After completing this step, you still need to instrument your Java and Python applications to send data to Application Signals. For more information, see Enabling Application Signals .
CloudformationResource: AWS::ApplicationSignals::Discovery
ExampleMetadata: fixture=_generated
Properties
AttrAccountId
The 12 digit AWS Account ID for the account.
public virtual string AttrAccountId { get; }
Property Value
Remarks
CloudformationAttribute: AccountId
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
Enables this AWS account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role. This service-linked role has the following permissions:
A service-linked CloudTrail event channel is created to process CloudTrail events and return change event information. This includes last deployment time, userName, eventName, and other event metadata.
After completing this step, you still need to instrument your Java and Python applications to send data to Application Signals. For more information, see Enabling Application Signals .
CloudformationResource: AWS::ApplicationSignals::Discovery
ExampleMetadata: fixture=_generated
CfnProperties
If you have existing
AWS::ApplicationSignals::Discoveryresources that were created prior to the Application Map release, you will need to delete and recreate these resources in your account to enable Application Map.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
Enables this AWS account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role. This service-linked role has the following permissions:
A service-linked CloudTrail event channel is created to process CloudTrail events and return change event information. This includes last deployment time, userName, eventName, and other event metadata.
After completing this step, you still need to instrument your Java and Python applications to send data to Application Signals. For more information, see Enabling Application Signals .
CloudformationResource: AWS::ApplicationSignals::Discovery
ExampleMetadata: fixture=_generated
CfnPropertyNames
If you have existing
AWS::ApplicationSignals::Discoveryresources that were created prior to the Application Map release, you will need to delete and recreate these resources in your account to enable Application Map.
protected override IDictionary<string, string> CfnPropertyNames { get; }
Property Value
Overrides
Remarks
Enables this AWS account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role. This service-linked role has the following permissions:
A service-linked CloudTrail event channel is created to process CloudTrail events and return change event information. This includes last deployment time, userName, eventName, and other event metadata.
After completing this step, you still need to instrument your Java and Python applications to send data to Application Signals. For more information, see Enabling Application Signals .
CloudformationResource: AWS::ApplicationSignals::Discovery
ExampleMetadata: fixture=_generated
DiscoveryRef
A reference to a Discovery resource.
public virtual IDiscoveryReference DiscoveryRef { get; }
Property Value
Remarks
Enables this AWS account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role. This service-linked role has the following permissions:
A service-linked CloudTrail event channel is created to process CloudTrail events and return change event information. This includes last deployment time, userName, eventName, and other event metadata.
After completing this step, you still need to instrument your Java and Python applications to send data to Application Signals. For more information, see Enabling Application Signals .
CloudformationResource: AWS::ApplicationSignals::Discovery
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
Enables this AWS account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role. This service-linked role has the following permissions:
A service-linked CloudTrail event channel is created to process CloudTrail events and return change event information. This includes last deployment time, userName, eventName, and other event metadata.
After completing this step, you still need to instrument your Java and Python applications to send data to Application Signals. For more information, see Enabling Application Signals .
CloudformationResource: AWS::ApplicationSignals::Discovery
ExampleMetadata: fixture=_generated
IsCfnDiscovery(object)
Checks whether the given object is a CfnDiscovery.
public static bool IsCfnDiscovery(object x)
Parameters
- x object
Returns
Remarks
Enables this AWS account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role. This service-linked role has the following permissions:
A service-linked CloudTrail event channel is created to process CloudTrail events and return change event information. This includes last deployment time, userName, eventName, and other event metadata.
After completing this step, you still need to instrument your Java and Python applications to send data to Application Signals. For more information, see Enabling Application Signals .
CloudformationResource: AWS::ApplicationSignals::Discovery
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
If you have existing
AWS::ApplicationSignals::Discoveryresources that were created prior to the Application Map release, you will need to delete and recreate these resources in your account to enable Application Map.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
Enables this AWS account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role. This service-linked role has the following permissions:
A service-linked CloudTrail event channel is created to process CloudTrail events and return change event information. This includes last deployment time, userName, eventName, and other event metadata.
After completing this step, you still need to instrument your Java and Python applications to send data to Application Signals. For more information, see Enabling Application Signals .
CloudformationResource: AWS::ApplicationSignals::Discovery
ExampleMetadata: fixture=_generated