We recommend new projects start with resources from the AWS provider.
aws-native.ivs.PlaybackKeyPair
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::IVS::PlaybackKeyPair
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var playbackKeyPair = new AwsNative.Ivs.PlaybackKeyPair("playbackKeyPair", new()
{
PublicKeyMaterial = @"-----BEGIN PUBLIC KEY-----
MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwOR43ETwEoWif1i14aL8GtDMNkT/kBQm
h4sas9P//bjCU988rmQQXVBfftKT9xngg+W6hzOEpeUlCRlAtz6b6U79naYYRaSk
K/UhYGWkXlbJlc9zn13imYWgVGe/BMFp
-----END PUBLIC KEY-----
",
Name = "MyPlaybackKeyPair",
Tags = new[]
{
new AwsNative.Inputs.TagArgs
{
Key = "MyKey",
Value = "MyValue",
},
},
});
return new Dictionary<string, object?>
{
["playbackKeyPairArn"] = playbackKeyPair.Id,
["playbackKeyPairFingerprint"] = playbackKeyPair.Fingerprint,
};
});
package main
import (
awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ivs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
playbackKeyPair, err := ivs.NewPlaybackKeyPair(ctx, "playbackKeyPair", &ivs.PlaybackKeyPairArgs{
PublicKeyMaterial: pulumi.String(`-----BEGIN PUBLIC KEY-----
MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwOR43ETwEoWif1i14aL8GtDMNkT/kBQm
h4sas9P//bjCU988rmQQXVBfftKT9xngg+W6hzOEpeUlCRlAtz6b6U79naYYRaSk
K/UhYGWkXlbJlc9zn13imYWgVGe/BMFp
-----END PUBLIC KEY-----
`),
Name: pulumi.String("MyPlaybackKeyPair"),
Tags: aws.TagArray{
&aws.TagArgs{
Key: pulumi.String("MyKey"),
Value: pulumi.String("MyValue"),
},
},
})
if err != nil {
return err
}
ctx.Export("playbackKeyPairArn", playbackKeyPair.ID())
ctx.Export("playbackKeyPairFingerprint", playbackKeyPair.Fingerprint)
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
playback_key_pair = aws_native.ivs.PlaybackKeyPair("playbackKeyPair",
public_key_material="""-----BEGIN PUBLIC KEY-----
MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwOR43ETwEoWif1i14aL8GtDMNkT/kBQm
h4sas9P//bjCU988rmQQXVBfftKT9xngg+W6hzOEpeUlCRlAtz6b6U79naYYRaSk
K/UhYGWkXlbJlc9zn13imYWgVGe/BMFp
-----END PUBLIC KEY-----
""",
name="MyPlaybackKeyPair",
tags=[{
"key": "MyKey",
"value": "MyValue",
}])
pulumi.export("playbackKeyPairArn", playback_key_pair.id)
pulumi.export("playbackKeyPairFingerprint", playback_key_pair.fingerprint)
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const playbackKeyPair = new aws_native.ivs.PlaybackKeyPair("playbackKeyPair", {
publicKeyMaterial: `-----BEGIN PUBLIC KEY-----
MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwOR43ETwEoWif1i14aL8GtDMNkT/kBQm
h4sas9P//bjCU988rmQQXVBfftKT9xngg+W6hzOEpeUlCRlAtz6b6U79naYYRaSk
K/UhYGWkXlbJlc9zn13imYWgVGe/BMFp
-----END PUBLIC KEY-----
`,
name: "MyPlaybackKeyPair",
tags: [{
key: "MyKey",
value: "MyValue",
}],
});
export const playbackKeyPairArn = playbackKeyPair.id;
export const playbackKeyPairFingerprint = playbackKeyPair.fingerprint;
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var playbackKeyPair = new AwsNative.Ivs.PlaybackKeyPair("playbackKeyPair", new()
{
PublicKeyMaterial = @"-----BEGIN PUBLIC KEY-----
MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwOR43ETwEoWif1i14aL8GtDMNkT/kBQm
h4sas9P//bjCU988rmQQXVBfftKT9xngg+W6hzOEpeUlCRlAtz6b6U79naYYRaSk
K/UhYGWkXlbJlc9zn13imYWgVGe/BMFp
-----END PUBLIC KEY-----
",
Name = "MyPlaybackKeyPair",
Tags = new[]
{
new AwsNative.Inputs.TagArgs
{
Key = "MyKey",
Value = "MyValue",
},
},
});
return new Dictionary<string, object?>
{
["playbackKeyPairArn"] = playbackKeyPair.Id,
["playbackKeyPairFingerprint"] = playbackKeyPair.Fingerprint,
};
});
package main
import (
awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ivs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
playbackKeyPair, err := ivs.NewPlaybackKeyPair(ctx, "playbackKeyPair", &ivs.PlaybackKeyPairArgs{
PublicKeyMaterial: pulumi.String(`-----BEGIN PUBLIC KEY-----
MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwOR43ETwEoWif1i14aL8GtDMNkT/kBQm
h4sas9P//bjCU988rmQQXVBfftKT9xngg+W6hzOEpeUlCRlAtz6b6U79naYYRaSk
K/UhYGWkXlbJlc9zn13imYWgVGe/BMFp
-----END PUBLIC KEY-----
`),
Name: pulumi.String("MyPlaybackKeyPair"),
Tags: aws.TagArray{
&aws.TagArgs{
Key: pulumi.String("MyKey"),
Value: pulumi.String("MyValue"),
},
},
})
if err != nil {
return err
}
ctx.Export("playbackKeyPairArn", playbackKeyPair.ID())
ctx.Export("playbackKeyPairFingerprint", playbackKeyPair.Fingerprint)
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
playback_key_pair = aws_native.ivs.PlaybackKeyPair("playbackKeyPair",
public_key_material="""-----BEGIN PUBLIC KEY-----
MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwOR43ETwEoWif1i14aL8GtDMNkT/kBQm
h4sas9P//bjCU988rmQQXVBfftKT9xngg+W6hzOEpeUlCRlAtz6b6U79naYYRaSk
K/UhYGWkXlbJlc9zn13imYWgVGe/BMFp
-----END PUBLIC KEY-----
""",
name="MyPlaybackKeyPair",
tags=[{
"key": "MyKey",
"value": "MyValue",
}])
pulumi.export("playbackKeyPairArn", playback_key_pair.id)
pulumi.export("playbackKeyPairFingerprint", playback_key_pair.fingerprint)
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const playbackKeyPair = new aws_native.ivs.PlaybackKeyPair("playbackKeyPair", {
publicKeyMaterial: `-----BEGIN PUBLIC KEY-----
MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwOR43ETwEoWif1i14aL8GtDMNkT/kBQm
h4sas9P//bjCU988rmQQXVBfftKT9xngg+W6hzOEpeUlCRlAtz6b6U79naYYRaSk
K/UhYGWkXlbJlc9zn13imYWgVGe/BMFp
-----END PUBLIC KEY-----
`,
name: "MyPlaybackKeyPair",
tags: [{
key: "MyKey",
value: "MyValue",
}],
});
export const playbackKeyPairArn = playbackKeyPair.id;
export const playbackKeyPairFingerprint = playbackKeyPair.fingerprint;
Coming soon!
Create PlaybackKeyPair Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PlaybackKeyPair(name: string, args?: PlaybackKeyPairArgs, opts?: CustomResourceOptions);
@overload
def PlaybackKeyPair(resource_name: str,
args: Optional[PlaybackKeyPairArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def PlaybackKeyPair(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
public_key_material: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewPlaybackKeyPair(ctx *Context, name string, args *PlaybackKeyPairArgs, opts ...ResourceOption) (*PlaybackKeyPair, error)
public PlaybackKeyPair(string name, PlaybackKeyPairArgs? args = null, CustomResourceOptions? opts = null)
public PlaybackKeyPair(String name, PlaybackKeyPairArgs args)
public PlaybackKeyPair(String name, PlaybackKeyPairArgs args, CustomResourceOptions options)
type: aws-native:ivs:PlaybackKeyPair
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PlaybackKeyPairArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PlaybackKeyPairArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PlaybackKeyPairArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PlaybackKeyPairArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PlaybackKeyPairArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PlaybackKeyPair Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PlaybackKeyPair resource accepts the following input properties:
- Name string
- An arbitrary string (a nickname) assigned to a playback key pair that helps the customer identify that resource. The value does not need to be unique.
- Public
Key stringMaterial - The public portion of a customer-generated key pair.
- List<Pulumi.
Aws Native. Inputs. Tag> - A list of key-value pairs that contain metadata for the asset model.
- Name string
- An arbitrary string (a nickname) assigned to a playback key pair that helps the customer identify that resource. The value does not need to be unique.
- Public
Key stringMaterial - The public portion of a customer-generated key pair.
- Tag
Args - A list of key-value pairs that contain metadata for the asset model.
- name String
- An arbitrary string (a nickname) assigned to a playback key pair that helps the customer identify that resource. The value does not need to be unique.
- public
Key StringMaterial - The public portion of a customer-generated key pair.
- List<Tag>
- A list of key-value pairs that contain metadata for the asset model.
- name string
- An arbitrary string (a nickname) assigned to a playback key pair that helps the customer identify that resource. The value does not need to be unique.
- public
Key stringMaterial - The public portion of a customer-generated key pair.
- Tag[]
- A list of key-value pairs that contain metadata for the asset model.
- name str
- An arbitrary string (a nickname) assigned to a playback key pair that helps the customer identify that resource. The value does not need to be unique.
- public_
key_ strmaterial - The public portion of a customer-generated key pair.
- Sequence[Tag
Args] - A list of key-value pairs that contain metadata for the asset model.
- name String
- An arbitrary string (a nickname) assigned to a playback key pair that helps the customer identify that resource. The value does not need to be unique.
- public
Key StringMaterial - The public portion of a customer-generated key pair.
- List<Property Map>
- A list of key-value pairs that contain metadata for the asset model.
Outputs
All input properties are implicitly available as output properties. Additionally, the PlaybackKeyPair resource produces the following output properties:
- Arn string
- Key-pair identifier.
- Fingerprint string
- Key-pair identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Arn string
- Key-pair identifier.
- Fingerprint string
- Key-pair identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- arn String
- Key-pair identifier.
- fingerprint String
- Key-pair identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- arn string
- Key-pair identifier.
- fingerprint string
- Key-pair identifier.
- id string
- The provider-assigned unique ID for this managed resource.
- arn str
- Key-pair identifier.
- fingerprint str
- Key-pair identifier.
- id str
- The provider-assigned unique ID for this managed resource.
- arn String
- Key-pair identifier.
- fingerprint String
- Key-pair identifier.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.