CfnDiscoveryPropsMixin Mixin
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.
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:
xray:GetServiceGraphlogs:StartQuerylogs:GetQueryResultscloudwatch:GetMetricDatacloudwatch:ListMetricstag:GetResourcesautoscaling:DescribeAutoScalingGroups
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 .
Initializer
new CfnDiscoveryPropsMixin(props: CfnDiscoveryMixinProps, options?: CfnPropertyMixinOptions)
CfnDiscoveryPropsMixin(props: CfnDiscoveryMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
new CfnDiscoveryPropsMixin(CfnDiscoveryMixinProps props, CfnPropertyMixinOptions options)
new CfnDiscoveryPropsMixin(CfnDiscoveryMixinProps props, CfnPropertyMixinOptions? options = null)
NewCfnDiscoveryPropsMixin(Props CfnDiscoveryMixinProps, Options CfnPropertyMixinOptions)
Methods
applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#1 parameter · returns
Parameters
xxxxX— Any object.
Returns: true if x is an object created from a class which extends Mixin.
supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#