class Trail extends ComponentResource
new Trail(name: string, args: TrailArgs, opts?: pulumi.CustomResourceOptions)
Create a Trail resource with the given unique name, arguments, and options.
nameThe unique name of the resource.
argsThe arguments to use to populate this resource's properties.
optsA bag of options that control this resource's behavior.
protected getData(): Promise<TData>
Retrieves the data produces by [initialize]. The data is immediately available in a
derived class’s constructor after the
super(...) call to
getProvider(moduleMember: string): ProviderResource | undefined
Can be overridden by a subclass to asynchronously initialize data for this Component
automatically when constructed. The data will be available immediately for subclass
constructors to use. To access the data use
static isInstance(obj: any): obj is ComponentResource
Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
registerOutputs registers synthetic outputs that a component has initialized, usually by allocating other child sub-resources and propagating their resulting property values.
ComponentResources can call this at the end of their constructor to indicate that they are
done creating child resources. This is not strictly necessary as this will automatically be
called after the
initialize method completes.
The managed S3 Bucket where the Trail will place its logs.
public logGroup: LogGroup | undefined;
The managed CloudWatch Log Group.
public trail: Trail;
The CloudTrail Trail.
urn is the stable logical URN used to distinctly address a resource, both before and after deployments.