awscodeguruprofiler

package
v2.0.0-rc.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 7 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CfnProfilingGroup_CFN_RESOURCE_TYPE_NAME

func CfnProfilingGroup_CFN_RESOURCE_TYPE_NAME() *string

func CfnProfilingGroup_IsCfnElement

func CfnProfilingGroup_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.

func CfnProfilingGroup_IsCfnResource

func CfnProfilingGroup_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource. Experimental.

func CfnProfilingGroup_IsConstruct

func CfnProfilingGroup_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead

func NewCfnProfilingGroup_Override

func NewCfnProfilingGroup_Override(c CfnProfilingGroup, scope constructs.Construct, id *string, props *CfnProfilingGroupProps)

Create a new `AWS::CodeGuruProfiler::ProfilingGroup`.

func NewProfilingGroup_Override

func NewProfilingGroup_Override(p ProfilingGroup, scope constructs.Construct, id *string, props *ProfilingGroupProps)

Experimental.

func ProfilingGroup_IsConstruct

func ProfilingGroup_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead

func ProfilingGroup_IsResource

func ProfilingGroup_IsResource(construct constructs.IConstruct) *bool

Check whether the given construct is a Resource. Experimental.

Types

type CfnProfilingGroup

type CfnProfilingGroup interface {
	awscdk.CfnResource
	awscdk.IInspectable
	AgentPermissions() interface{}
	SetAgentPermissions(val interface{})
	AnomalyDetectionNotificationConfiguration() interface{}
	SetAnomalyDetectionNotificationConfiguration(val interface{})
	AttrArn() *string
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	CfnResourceType() *string
	ComputePlatform() *string
	SetComputePlatform(val *string)
	CreationStack() *[]*string
	LogicalId() *string
	Node() constructs.Node
	ProfilingGroupName() *string
	SetProfilingGroupName(val *string)
	Ref() *string
	Stack() awscdk.Stack
	Tags() awscdk.TagManager
	UpdatedProperites() *map[string]interface{}
	AddDeletionOverride(path *string)
	AddDependsOn(target awscdk.CfnResource)
	AddMetadata(key *string, value interface{})
	AddOverride(path *string, value interface{})
	AddPropertyDeletionOverride(propertyPath *string)
	AddPropertyOverride(propertyPath *string, value interface{})
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	GetAtt(attributeName *string) awscdk.Reference
	GetMetadata(key *string) interface{}
	Inspect(inspector awscdk.TreeInspector)
	OverrideLogicalId(newLogicalId *string)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	ShouldSynthesize() *bool
	ToString() *string
	ValidateProperties(_properties interface{})
}

A CloudFormation `AWS::CodeGuruProfiler::ProfilingGroup`.

func NewCfnProfilingGroup

func NewCfnProfilingGroup(scope constructs.Construct, id *string, props *CfnProfilingGroupProps) CfnProfilingGroup

Create a new `AWS::CodeGuruProfiler::ProfilingGroup`.

type CfnProfilingGroupProps

type CfnProfilingGroupProps struct {
	// `AWS::CodeGuruProfiler::ProfilingGroup.ProfilingGroupName`.
	ProfilingGroupName *string `json:"profilingGroupName"`
	// `AWS::CodeGuruProfiler::ProfilingGroup.AgentPermissions`.
	AgentPermissions interface{} `json:"agentPermissions"`
	// `AWS::CodeGuruProfiler::ProfilingGroup.AnomalyDetectionNotificationConfiguration`.
	AnomalyDetectionNotificationConfiguration interface{} `json:"anomalyDetectionNotificationConfiguration"`
	// `AWS::CodeGuruProfiler::ProfilingGroup.ComputePlatform`.
	ComputePlatform *string `json:"computePlatform"`
	// `AWS::CodeGuruProfiler::ProfilingGroup.Tags`.
	Tags *[]*awscdk.CfnTag `json:"tags"`
}

Properties for defining a `AWS::CodeGuruProfiler::ProfilingGroup`.

type CfnProfilingGroup_ChannelProperty

type CfnProfilingGroup_ChannelProperty struct {
	// `CfnProfilingGroup.ChannelProperty.channelUri`.
	ChannelUri *string `json:"channelUri"`
	// `CfnProfilingGroup.ChannelProperty.channelId`.
	ChannelId *string `json:"channelId"`
}

type ComputePlatform

type ComputePlatform string

The compute platform of the profiling group. Experimental.

const (
	ComputePlatform_AWS_LAMBDA ComputePlatform = "AWS_LAMBDA"
	ComputePlatform_DEFAULT    ComputePlatform = "DEFAULT"
)

type IProfilingGroup

type IProfilingGroup interface {
	awscdk.IResource
	// Grant access to publish profiling information to the Profiling Group to the given identity.
	//
	// This will grant the following permissions:
	//
	//   - codeguru-profiler:ConfigureAgent
	//   - codeguru-profiler:PostAgentProfile
	// Experimental.
	GrantPublish(grantee awsiam.IGrantable) awsiam.Grant
	// Grant access to read profiling information from the Profiling Group to the given identity.
	//
	// This will grant the following permissions:
	//
	//   - codeguru-profiler:GetProfile
	//   - codeguru-profiler:DescribeProfilingGroup
	// Experimental.
	GrantRead(grantee awsiam.IGrantable) awsiam.Grant
	// A name for the profiling group.
	// Experimental.
	ProfilingGroupName() *string
}

IResource represents a Profiling Group. Experimental.

func ProfilingGroup_FromProfilingGroupArn

func ProfilingGroup_FromProfilingGroupArn(scope constructs.Construct, id *string, profilingGroupArn *string) IProfilingGroup

Import an existing Profiling Group provided an ARN. Experimental.

func ProfilingGroup_FromProfilingGroupName

func ProfilingGroup_FromProfilingGroupName(scope constructs.Construct, id *string, profilingGroupName *string) IProfilingGroup

Import an existing Profiling Group provided a Profiling Group Name. Experimental.

type ProfilingGroup

type ProfilingGroup interface {
	awscdk.Resource
	IProfilingGroup
	Env() *awscdk.ResourceEnvironment
	Node() constructs.Node
	PhysicalName() *string
	ProfilingGroupArn() *string
	ProfilingGroupName() *string
	Stack() awscdk.Stack
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
	GeneratePhysicalName() *string
	GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string
	GetResourceNameAttribute(nameAttr *string) *string
	GrantPublish(grantee awsiam.IGrantable) awsiam.Grant
	GrantRead(grantee awsiam.IGrantable) awsiam.Grant
	ToString() *string
}

A new Profiling Group. Experimental.

func NewProfilingGroup

func NewProfilingGroup(scope constructs.Construct, id *string, props *ProfilingGroupProps) ProfilingGroup

Experimental.

type ProfilingGroupProps

type ProfilingGroupProps struct {
	// The compute platform of the profiling group.
	// Experimental.
	ComputePlatform ComputePlatform `json:"computePlatform"`
	// A name for the profiling group.
	// Experimental.
	ProfilingGroupName *string `json:"profilingGroupName"`
}

Properties for creating a new Profiling Group. Experimental.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL